Lesson 5.2 · Pro

LEFT JOIN: keep every row

Keep all rows from the first table, even the ones with no match, and handle the NULLs that creates.

In this lesson

  1. Keep every row from the left table
  2. COUNT(*) counts the empty matches too
  3. Use the NULLs to measure coverage