Comment

Comment by habibur

Had been writing SQLs for decades. In the beginning tried all kinds of joins, but every one of those had some unwanted side effect. Especially where there were un-expected nulls.

Figured out LEFT JOIN eliminated all of those and produced what I want.

Had been using LEFT JOIN since. I ever remember only one time when I didn't use left join, because that case needed a full join.

parent habibur 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton