Quick Basics of Join.
Types of Join :
1.Inner Join-Intersection of two tables.
2.Left Outer Join-Intersection of two tables + rows in left table.
3.Right Outer Join-Intersection of two tables +rows in right table.
4. Outer Join-Left join +Right Join ,null values will be substituted when condition is not met.
5.Cross Join – A Cartesian product(No of rows in A * No of rows in B) between two tables,there is no “on” condition.Produces all combination of rows between two tables.
Syntax for cross join :
select * from tablea cross join tableb (or ) select * from tablea,tableb
6.Self Join : Join among the same table.