Question

This question already has an answer here:

What is the difference in results between:

  1. RIGHT JOIN and RIGHT OUTER JOIN
  2. LEFT JOIN and LEFT OUTER JOIN ?

Can you please explain it through some examples?

Was it helpful?

Solution

There is no difference between RIGHT JOIN and RIGHT OUTER JOIN. Both are the same. That is, LEFT JOIN and LEFT OUTER JOIN both are the same.

Visual Representation of SQL Joins

OTHER TIPS

Here's a very nice Visual Explanation of joins generally by our very own Jeff Atwood. A right outer join is the same as a right join, and left join and left outer join are also the same.

Nice explanation of SQL Join:

enter image description here

Reference: link

What is result difference between:

RIGHT JOIN and RIGHT OUTER JOIN

No difference.

LEFT JOIN and LEFT OUTER JOIN ?

No difference.

Simply put, the OUTER keyword is optional. You can include it or omit it without affecting the resultset.

  • SQL Server Forums - Differences between Left join & Left outer join

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=53046

  • LEFT JOIN vs. LEFT OUTER JOIN

http://itknowledgeexchange.techtarget.com/itanswers/left-join-vs-left-outer-join/

  • PL/SQL - What is the difference between right join and right outer ...

http://www.geekinterview.com/question_details/53637

  • "Join" is union of two or more tables (entities) with all data.
  • "Outer" is union of two or more tables except the attributes used for union
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top