Académique Documents
Professionnel Documents
Culture Documents
commit;
-- Cross join
select
Employee_ID,Employee_Name,Job,Location,Department_Name,departments.DEPARTMENT_ID
from departments,employees;
select
Employee_ID,Employee_Name,Job,Location,Department_Name,departments.DEPARTMENT_ID
from departments,employees
where departments.department_id=employees.department_id
and departments.department_id=20;
-- inner join
update employees
set department_id=null
where employee_id in (1107,1113);
commit;
-- SET