by Froga
INNER, LEFT, RIGHT, FULL and CROSS — what each one actually returns, why unmatched rows come back as NULL, and how to stop guessing which one you need.
Picture two overlapping circles. INNER JOIN returns only the overlap — a row appears in the result only if the join condition finds a partner on the other side. Rows without a match are dropped entirely, which is the single most common cause of "my query lost rows".
multiple choice
Ready to test yourself?
Sign up free to answer, score points, and build your streak.