• That worked, but the query is a bit clunky.

  • And the problem is very common.

  • SQL provides a variation on join — outerjoin — that leads to a cleaner query.