SQL pattern · P04 · 16 problems

Aggregation and GROUP BY

Graded problems on aggregation and GROUP BY, from easy to hard.

16 problems · about 1 h 40 min in all
Start with problem 01Paid and Refunded Orders per Customer · 4 min
Learn it first · P04The GROUP BY that answers a different questionOne extra grouping column splits a per-customer total into per-status rows.Read the lesson →