SQL joins and missing rows

Which books appear when Books is the left side of a left join?

Examples

Worked example

Input
Books A and B exist. Only B has an associated review.
Expected output
Both A and B.

Hints and solution

Hint 1

Write down the starting state and walk through one example by hand.

Reveal worked answer

B gets its review fields. A remains with null review fields because it had no match.

Back to the lesson