← Path
SQL Fundamentals · SQL JOINs Explained: INNER vs LEFT JOIN and the Row Multiplication Trap
0 XP- 1 current stop: learning
- 2 upcoming
- 3 upcoming
- 4 upcoming
- 5 upcoming
Finish after stop 5
Stop 1 of 5 · Podcast studio reception
Trick to keep in mind+3 XP
INNER JOIN keeps couples only: no partner, no row.
An inner join pairs rows from the two tables wherever the ON condition is true and keeps only those pairs. A row on either side with no match produces no pair, so it simply is not in the output. There is no error and no placeholder row. If you want to keep the unmatched side, you need an outer join.
Read it once, then a question tests whether the trick stuck.