Skip to content
Theory · JOIN · lesson 8 of 12

A condition in ON or WHERE

You need a list of all shops and the senior barista of each. A shop without a senior barista must be on the list too, with an empty cell.

In this lesson

  • Why WHERE loses rows
  • A condition in ON
  • Rows without a pair through IS NULL
  • Common mistake
  • Key points