What is the difference between these two select statements?
select foo from table1
inner join table2 on table1.a = table2.a and table1.b=table2.b;
select foo from table1
inner join table2 on table1.a = table2.a
where table1.b=table2.b;
What is the difference between these two select statements?
select foo from table1
left outer join table2 on table1.a = table2.a and table1.b=table2.b;
select foo from table1
left outer join table2 on table1.a = table2.a
where table1.b=table2.b;