When a join condition is invalid or omitted completely , the result is a Cartesian product first tables are joined to all rows in second table.
Numberof rows in Ist table * number of rows in IInd table = Cartesion Product
Oracle Proprietary Joins
- EquiJoin
- Non-Equijoin
- Outer Join
- Self Join
- Cross Joins
- Natural Joins
- Using Clause
- Full or two sided Outer Joins
- Arbitrary Joins Conditions For Outer Joins .
Equi Join
Also known as simple Joins,Inner Joins This type of joins involved primary and foreign key complements.Example:
SELECT e.last_name,d.department_name,l.city
FROM employees e,department d,location l
WHERE e.departmnt_id=d.department and d.location_id=l.location_id.
No comments:
Post a Comment