A LEFT JOIN adds rows. Every right-hand column on them is NULL.
The common read: A LEFT JOIN preserves the left side, so once the word LEFT is in the query every cabinet reaches the report.
Name what is in the visit columns of a cabinet nobody has ever visited, then name where that row came from.
Not from either table. The documentation defines the outer join as a two-step construction: first an inner join is performed, then for each row in T1 that does not satisfy the join condition with any row in T2, a joined row is added with null values in columns of T2. Avenida do porto's row was manufactured after the inner join ran out of matches, and every site_visits column on it is NULL: outcome, visit_id, and cabinet_id, which reads NULL on a row whose cabinet id is 2.
The join key comes back empty, so every right-hand value on a manufactured row is invented by the join, not stored by either table. The report they feed is the ISP's maintenance backlog: one row per street cabinet, at the grain of the cabinet, not the visit, with the last visit attached where there is one. Field ops counts the rows and calls it coverage, so when it drops the ticket goes to whoever loaded the visits, and neither engineer who reviewed the query read the clause underneath it.
