Mphasis Interview Question

What is the difference between Inner Join and the Outer Join?

Interview Answer

Anonymous

Aug 5, 2016

Inner join - An inner join using either of the equivalent queries gives the intersection of the two tables, i.e. the two rows they have in common. Left outer join - A left outer join will give all rows in A, plus any common rows in B. Inner join matches tables on keys, but outer join matches keys just for one side