top | item 39072410

(no title)

Little_Kitty | 2 years ago

Of the tens of thousands of queries I've written I've needed right join the exactly once. It's a feature which is neat in that it exists, but the prevalence in teaching materials is entirely unjustified. Cross joins are massively more practical and enable some efficient transformations, but are usually taught only as all to all without a clear position on why they are useful.

discuss

order

Terr_|2 years ago

> , but the prevalence in teaching materials is entirely unjustified.

I agree that it is seldom good query-writing practice, but I think it makes sense in education because it rounds out the join variations to name them symmetrical, and thus easier to remember.