SQL Fundamentals — Hard
Key points
- WHERE filters individual rows before grouping
- HAVING filters groups after aggregation
- HAVING can reference aggregates, WHERE cannot
- HAVING is used for filtering grouped data
Ready to go further?
Related questions
SQL Fundamentals — Hard
Key points
Ready to go further?
Related questions