SQL Joins Quizzes

Combine tables the way real queries do: INNER and LEFT joins, self joins, UNION and CROSS JOIN, plus the pitfalls that quietly add or drop rows.

Intermediate 5 quizzes · 50 questions about 33 minutes
0/5passed Category exam 20 mixed questions. 80% earns a certificate.
Tags:
1 INNER JOIN Easy Match rows from two tables with INNER JOIN and predict which rows come out. #joins#inner-join 10 questions · ~5 min Not started Start
2 LEFT JOIN Medium Keep every row of the left table with LEFT JOIN and handle the NULLs it creates. #joins#left-join 10 questions · ~6 min Not started Start
3 Self Join Hard Join a table to itself to read hierarchies, compare rows and find pairs. #joins#self-join 10 questions · ~8 min Not started Start
4 Join Pitfalls Hard Catch the join mistakes that silently duplicate rows, lose rows or inflate totals. #joins#gotchas 10 questions · ~8 min Not started Start
5 UNION & CROSS JOIN Medium Stack query results with UNION and UNION ALL and build every combination with CROSS JOIN. #union#joins 10 questions · ~6 min Not started Start