Search code examples
sqljoinleft-joinouter-joinright-join

Difference between RIGHT & LEFT JOIN vs RIGHT & LEFT OUTER JOIN in SQL


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?


Solution

  • There is no difference between RIGHT JOIN and RIGHT OUTER JOIN. Both are the same. That means that LEFT JOIN and LEFT OUTER JOIN are the same.

    Visual Representation of SQL Joins