Professional Documents
Culture Documents
Int306 Notes
Int306 Notes
(
customer_id varchar2(10) primary key,
customer_name char(50) not null,
phn_no int unique,
country char(30) default 'India',
age int check(age>18),
product_id varchar2(50) references product(product_id)
);
QUERY FOR INNER JOIN( also called equi join if there is an equal to operator in the
command)
select * from Employeee inner join department on
Employeee.Deptid=Department.Deptid;
CROSS JOIN
select * from Employeee cross join Department;
NATURAL JOIN
select * from Employeee natural join Department;