What is the difference between left join and left outer join?
As per the documentation: FROM (Transact-SQL):
<join_type> ::=
[ { INNER | { { LEFT | RIGHT | FULL } [ OUTER ] } } [ <join_hint> ] ]
JOIN
The keyword OUTER is optional (enclosed in square brackets), so whether you use it or not it makes no difference.
Also note that the entire type-part of the JOIN clause is optional, in which case the default is INNER if you just specify JOIN. In other words, this is legal:
SELECT *
FROM A JOIN B ON A.X = B.Y
Syntactic sugar, makes it more obvious to the casual reader that the join isn't a full one.
Hi guys! I'm a PostgreSQL DBA, as far as i could understand the difference between outer or not outer joins difference is a topic that has considerable discussion all around the internet. Until today i never saw a difference between those two so i went further and i try to find the difference between those. In the end i read the whole documentation about it and i found the answer for this,
So if you look on documentation(at lest PostgreSQL) you can find this phrase:
"The words INNER and OUTER are optional in all forms. INNER is the default; LEFT, RIGHT, and FULL imply an outer join." (http://www.postgresql.org/docs/8.4/static/queries-table-expressions.html)
In another words,
Left Join and Left Outer Join ARE THE SAME
Right Join and Right Outer Join ARE THE SAME
I hope it can be a contribute for those who are still trying to find the answer.