Monday, September 8, 2014

Outer join

An outer join returns all rows from one of the tables, along with matching information from another table.

With an inner join, you are comparing rows from two tables, but the order of those two tables does not matter.

Difference between an outer join and an inner join

An outer join gives a row whether there's a match with the other table or not.

A NULL value in the results of a left outer join means that the right table has no values that correspond to the left table.

No comments:

Post a Comment