Database Management Systems ยท Query languages

SQL aggregation and grouping

Collapsing many rows into one summary number per group, like a total or average per category.

Also known as: GROUP BY, HAVING, aggregate functions.

Start a lesson on SQL aggregation and grouping

Learn first

Leads to

Related topics