Lesson 16 of 30 · Joins
Quiz: SQL Joins
Joins are where SQL gets powerful. You've learned why data is split into tables linked by primary and foreign keys, how JOIN … ON combines matching rows, how table aliases keep queries short, how to chain several joins through link tables like completions and purchases, and how LEFT JOIN keeps unmatched rows — so you can find what's missing with IS NULL.
Answer these six questions before you meet the chapter boss, and read every explanation: each one covers a mistake that is easy to make in real queries.
What this quiz covers
The questions check what you learned in the Joins chapter of Learn SQL. Not sure about a topic? Review its lesson first:
- SQL INNER JOIN: Combine Rows from Two Tables
Learn why data is split into tables, how foreign keys link them, and how SQL JOIN … ON combines rows from two tables into one result.
- SQL Multiple Joins and Table Aliases: Join Three Tables
Join three or more tables in SQL. Give tables short aliases, follow foreign keys through a link table, and combine heroes, quests and items.
- SQL LEFT JOIN: Keep Unmatched Rows and Find Missing Matches
Use SQL LEFT JOIN to keep every row of the first table, get NULLs for missing matches, and find rows without a match with WHERE … IS NULL.
Keep learning
Need a quick reminder? The SQL cheat sheet has every topic of Learn SQL on one page.
Lesson last updated on .