unnested
Explore
Pro
Sign in
Learn SQL
Self Joins
Pro
8 questions
Unlock all 8 questions with a Pro subscription.
Upgrade to Pro
Output
Easy
Who gets dropped when manager_id is NULL?
Multiple choice
Easy
Joining a table to itself
Output
Easy
Does the top of the hierarchy show up?
Output
Medium
How many pairs does id < id produce?
Output
Medium
Matching rows by price - how many pairs appear?
Output
Medium
Chaining two self joins up the hierarchy
Multiple choice
Hard
Self join without aliases - what breaks?
Multiple choice
Hard
Which levels survive two INNER JOINs?