Domanda

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?

È stato utile?

Soluzione

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.

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top