EasyOutput prediction

Aggregate with WHERE

Given this table (orders):

idcustomeramount
1Alice100
2Bob200
3Alice300

What does this query return?

SELECT SUM(amount) FROM orders WHERE customer = 'Alice';

← → arrow keys to navigate

Sign in to save your progress.

Aggregate with WHERE - SQL Aggregation Quiz | Unnested