Question

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?

Was it helpful?

Solution

The keywords inner and outer are optional (like many others). The join type is implied:

  • unqualified = inner
  • left = outer
  • right = outer
  • full or cross = outer

I personally never use them as they are code clutter.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top