EasyOutput prediction
Aggregate with WHERE
Given this table (orders):
| id | customer | amount |
|---|---|---|
| 1 | Alice | 100 |
| 2 | Bob | 200 |
| 3 | Alice | 300 |
What does this query return?
SELECT SUM(amount) FROM orders WHERE customer = 'Alice';
← → arrow keys to navigate
Sign in to save your progress.