unnested
Pro

© 2026 unnested

Built for learners, by learners

AboutPrivacy PolicyTerms of ServiceContactSuggest a feature
Learn SQL

Filtering

35 questions

OutputEasy
Filter to one department
OutputEasy
Exclude a category
OutputEasy
When both conditions must pass
OutputEasy
Two statuses, one filter
OutputEasy
Widening the net with OR

Sign in to save your progress.

VocabularyEasy
What is a PRIMARY KEY?
VocabularyEasy
What is a full table scan?
VocabularyEasy
What does an INDEX do?
VocabularyEasy
What is a SQL transaction?
VocabularyEasy
COMMIT vs ROLLBACK
OutputEasy
Does 80 make the cut?
OutputMedium
Mixed AND and OR - who wins?
OutputMedium
How far does % reach?
OutputMedium
The boundary price question
OutputMedium
Blocking a list of departments
OutputMedium
What does a single underscore lock in?
Multiple choiceMedium
The boundary flip with NOT BETWEEN
VocabularyMedium
What does the UNIQUE constraint do?
VocabularyMedium
What does a CHECK constraint do?
Multiple choiceMedium
Which operator binds first?
OutputMedium
Does '%sale%' match the empty row?
OutputMedium
Which rows slip through the missing parens?
Multiple choiceMedium
What expression mirrors NOT BETWEEN?
OutputMedium
Which codes does [ABC]% catch?
Multiple choiceMedium
Which values fit the two-character pattern?
OutputHard
Finding the boss with no manager
Multiple choiceHard
The invisible NULL that kills the query
OutputHard
Filtering out the top of the org chart
VocabularyHard
What do the ACID properties mean?
VocabularyHard
What does 'sargable' mean?
Multiple choiceHard
Why did all 10 rows vanish?
Multiple choiceHard
What does the caret do inside brackets?
Multiple choiceHard
Is this divide-by-zero guard safe?
OutputHard
NULL inside an IN list
OutputHard
5 is clearly not 1 or 2 - so why no rows?