What is the difference between LEFT JOIN and LEFT OUTER JOIN?
What is the difference between LEFT JOIN and LEFT OUTER JOIN ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As per the documentation: FROM (Transact-SQL):
The keyword
OUTERis marked as optional (enclosed in square brackets). In this specific case, whether you specifyOUTERor not makes no difference. Note that while the other elements of the join clause is also marked as optional, leaving them out will make a difference.For instance, the entire type-part of the
JOINclause is optional, in which case the default isINNERif you just specifyJOIN. In other words, this is legal:Here’s a list of equivalent syntaxes:
Also take a look at the answer I left on this other SO question: SQL left join vs multiple tables on FROM line?.