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?

有帮助吗?

解决方案

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.

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top