News for hackers. Stuff that matters.
Re:Joins In Steps by paulddraper on Saturday May 11, 2019 @10:21AM (#19886304)
A right join is simply a commuted left join, so barring some bizzare DMBS optimizer oddity, there's no nothing you couldn't trivially replace with left join or vice versa.

I just checked some code, saw 357 left joins and 1 right join.

    SELECT p.password, u.id
    FROM password p
      RIGHT JOIN "user" u ON p.user_id = u.id

There are no comments on this comment yet.