LEFT JOIN: why your filter returns too many rows — or too few
One query, three versions, and the one rule that explains all of them. The question sounds simple: “Show me all bookings that have not been invoiced yet — so no invoice that is already Exported or Printed.” A first attempt at this query…
