unnested
Explore
Pro
Sign in
Learn SQL
Joins
Pro
23 questions
Unlock all 23 questions with a Pro subscription.
Upgrade to Pro
Output
Easy
What happens to Bob with no department?
Output
Easy
Which rows survive the join?
Output
Easy
The department with no employee
Multiple choice
Easy
Reading a shrinking row count
Vocabulary
Easy
What is a FOREIGN KEY?
Vocabulary
Easy
What does LEFT JOIN return?
Vocabulary
Easy
What does INNER JOIN return?
Multiple choice
Medium
ON vs WHERE in a LEFT JOIN
Output
Medium
Who gets filtered by WHERE d.id IS NULL?
Output
Medium
How many rows does CROSS JOIN produce?
Output
Medium
Chaining two JOINs across three tables
Output
Medium
Matching rows with BETWEEN instead of =
Multiple choice
Medium
When one join column isn't enough
Multiple choice
Medium
Order of chained JOINs
Output
Medium
Joining on product_id alone - how many rows?
Vocabulary
Medium
What does FULL OUTER JOIN return?
Output
Hard
Counting rows when neither side fully matches
Multiple choice
Hard
The WHERE clause that quietly changes your join type
Multiple choice
Hard
NULL in a join key
Multiple choice
Hard
3 orders, 1 customer - how many result rows?
Multiple choice
Hard
JOIN vs subquery — when to use each
Multiple choice
Hard
FULL OUTER JOIN vs LEFT JOIN
Multiple choice
Hard
Detecting unexpected fan-out