The keywords inner
and outer
are optional (like many others). The join type is implied:
- unqualified = inner
left
= outerright
= outerfull
orcross
= outer
I personally never use them as they are code clutter.
Frage
If Left Outer Join and Left join do the same exact thing. Are there any advantages to use one over the other? What scenarios might you choose to say Left Join over Left Outer Join or vice versa?
Lösung
The keywords inner
and outer
are optional (like many others). The join type is implied:
left
= outerright
= outerfull
or cross
= outerI personally never use them as they are code clutter.
Andere Tipps
They are exactly the same. The outer join is optional.
HOWEVER, If you do not specify an Outer join type: Left, Right, or Full, then it will be an INNER join.
In the context of Left/Right they are equivalent to an OUTER join and therefore OUTER will be defaulted, and can, semantically be added.
Left Join == Left outer join
Like some people have said, it's very nice for the readability.