unnested
Explore
Pro
Sign in
Learn SQL
Distinct
Pro
8 questions
Unlock all 8 questions with a Pro subscription.
Upgrade to Pro
Output
Easy
Which row combinations collapse?
Output
Easy
How many rows does deduplication keep?
Output
Medium
Two NULLs walk into a SELECT DISTINCT...
Multiple choice
Medium
When would you pick GROUP BY over DISTINCT?
Output
Medium
Does NULL count as a unique value?
Output
Hard
Two independent COUNT(DISTINCT) in one query
Multiple choice
Hard
Does DISTINCT scope to the first column?
Output
Hard
Which query computes totals per customer?