4 items
COUNT aggregate basics (COUNT(*) vs COUNT(column))
Purpose of GROUP BY to collapse rows into groups
Purpose of GROUP BY to form row groups
Purpose of aggregate functions to summarize rows into a single value
GROUP BY collapses rows that share the same values into summary rows so aggregate functions can compute one result per group.
What is the primary purpose of the GROUP BY clause in SQL?