News for hackers. Stuff that matters.
Re:Joins In Steps by saulrh on Saturday May 11, 2019 @02:38AM (#19884934)
I think that I've almost used a right join before, but not for anything like a legitimate use case. I was attempting to out-think an in-house DB's optimizer that was doing a hash join in the wrong direction. There may have been some rough spots in some of that DB's specialized SQL extensions that played into the problem. I think I ended up using a full outer join plastered with optimizer hints. Like you said, if you're using a right join, probably not unlikely that you're doing something wrong.

There are no comments on this comment yet.