|
|
|
|
|
by MoronInAHurry
2322 days ago
|
|
No, that's not how a left join works. You really shouldn't act so condescending when you clearly don't even have a solid understanding of the basics yourself. That's a perfectly reasonable query that would run in less than a millisecond on a large database as long as it's been indexed correctly. There's nothing sloppy about it at all. |
|
It's how a naive implementation would work. Nobody actually knows "how" this left join works since we don't know what the query planner will do. Manifesting a whole outer join is not totally unreasonable in all cases.
I think you come off as very aggressive and there's no need for that tone.
But I do agree with the sentiment that the query might not be bad.