WeCodeAcademy

Count rows per group

GROUP BY with COUNT(*) gives one row per group.

Examplesql
Open in editor »

More SQL recipes