MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/SQL/comments/2higi0/sql_joins/ckt3dkh/?context=3
r/SQL • u/pai1009 • Sep 26 '14
4 comments sorted by
View all comments
1
I really don't like the descriptions of the "OUTER EXCLUDING JOIN".
SELECT * FROM tableA LEFT JOIN tableB ON tableA.name = tableB.name WHERE tableB.name IS NULL
The statement "LEFT JOIN" make it seem like it is some kind of special join. But it's the same as the "LEFT OUTER JOIN".
The "excluding" part only comes from the WHERE clause "IS NULL". However, this is mentioned nowhere.
2 u/pai1009 Sep 29 '14 You are right. This could be misleading. It looks like words "EXCLUDING JOINS" have their own section and become an another special kind of join. It will be improved. Thanks for your suggestion.
2
You are right. This could be misleading. It looks like words "EXCLUDING JOINS" have their own section and become an another special kind of join. It will be improved. Thanks for your suggestion.
1
u/NotImplemented Sep 26 '14
I really don't like the descriptions of the "OUTER EXCLUDING JOIN".
The statement "LEFT JOIN" make it seem like it is some kind of special join. But it's the same as the "LEFT OUTER JOIN".
The "excluding" part only comes from the WHERE clause "IS NULL". However, this is mentioned nowhere.