Better familiarize with —
select * from A left join B on 1=0 — If there are 9 A rows, this returns 9 rows with all nulls on B side
select * from A left join B on 1=1 — cartesian inner join. You can safely omit the “left”
Better familiarize with —
select * from A left join B on 1=0 — If there are 9 A rows, this returns 9 rows with all nulls on B side
select * from A left join B on 1=1 — cartesian inner join. You can safely omit the “left”