Oracle Join Vs ANSI SQL Join Summary
Oracle Join Vs ANSI SQL Join Summary
Description Oracle Proprietary Join Syntax ANSI SQL Compliant Join Syntax
Produces cartesian CROSS JOIN:
product of joined
tables. select last_name, department_name select last_name, department_name
from employees, departments from employees CROSS JOIN departments
Joining table using EQUIJOIN: NATURAL JOIN:
similar columns
(foreign key -> select department_id, department_name, select department_id, department_name,
Primary Key). d.location_id, city location_id, city
from departments d, locations l from departments
where d.location_id = l.location_id NATURAL JOIN
locations
EQUIJOIN: To specify only one column (in case there are
more than one similar columns), natural join
with USING CLAUSE: