Tag view

#aggregation

Cross-subject tag search for related interview cards.

Clear

Results update as you type. Press / to jump straight into search.

Tagged with aggregation

4 cards

SQL Easy Theory

What does GROUP BY do?

GROUP BY collects rows by one or more columns so aggregate functions can run per group.

  • Works with count sum avg
  • Every selected non-aggregate column must be grouped
  • HAVING filters groups

What does GROUP BY do?