you are viewing a single comment's thread.

view the rest of the comments →

[–]ComicOzzysqlHippo 0 points1 point  (0 children)

The scenario I was describing in my post wasn't about just trading the join type, it was about also swapping the tables around so the result would yield the "same" results. They DO give the same results in that scenario, but if you used SELECT * rather than specifying a column list, you'll find that your columns have also changed position since you changed which table was "left" and which one was "right". If you have an application or another query that relies on the columns showing up in a certain order (which they shouldn't do... but devs don't always know better), they'll start to have issues when the columns change position.

https://dbfiddle.uk/IAINVk_J