|
- select employee_id, city , department_name from
- ( SELECT employee_id, department_name ,d.location_id from employees e , departments d
- where d.department_id (+) = e.department_id ) a , locations l
- where a.location_id = l.location_id (+) ;
复制代码- SELECT employee_id, city, department_name
- FROM employees e, departments d, locations l
- where d.department_id (+) = e.department_id and d.location_id = l.location_id (+);
复制代码
|
|