ON versus WHERE in an outer join
See how the same comparison changes a LEFT JOIN when it runs while pairs form or after NULL padding. Querying · Databases.
A LEFT JOIN report still shows a parent after its only child fails a status check. Move that check one clause later and the row vanishes. The tables did not change; the stage did.
What you will learn
- Read a two-table result one stage at a time
- Choose a clause for a nullable-side comparison
- Diagnose repeated partners and missing values
Lesson outline
- A two-stage join
- Status checks in context
- Preserved rows and NULLs
14 minutes · 6 scenes · 0 predict checks · 13 quiz questions
The full lesson is available with Premium.