unnested
Pro

© 2026 unnested

Built for learners, by learners

AboutPrivacy PolicyTerms of ServiceContactSuggest a feature
Learn SQL

Joins

Pro

23 questions

Unlock all 23 questions with a Pro subscription.

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