sql - Join query in oracle 10g -
i have written query display last name, department number, , department name employees work in toronto.
select last_name, job_id, department_id, department_name employees e join departments d on d.department_id=e.department_id join locations l on d.location_id=l.location_id , l.city='toronto';
i getting error ora-00918: column ambiguously defined
change first line to:
select e.last_name, e.job_id, e.department_id, d.department_name
Comments
Post a Comment