unnested
Pro

© 2026 unnested

Built for learners, by learners

AboutPrivacy PolicyTerms of ServiceContactSuggest a feature
Learn SQL

Filtering Groups

10 questions

OutputEasy
Filtering by group size
OutputEasy
Which group survives the filter?
Multiple choiceEasy
When does the filter run?
VocabularyEasy
What does HAVING filter?
OutputMedium
Two filters, one query

Sign in to save your progress.

OutputMedium
Every member must qualify
Multiple choiceMedium
Can HAVING see a SELECT alias?
OutputMedium
Capping a category by its peak
OutputHard
HAVING without GROUP BY
OutputHard
Full GROUP BY pipeline