Question: Is that true this nested query? Shouldn't it be Select e.first_name,e.last_name? 2. Write a query to retrieve the first name, last name, department name and
Is that true this nested query? Shouldn't it be Select e.first_name,e.last_name?

2. Write a query to retrieve the first name, last name, department name and location id of each employee who are working in the departments located in location id 1700 SELECT FIRST_NAME, LAST_NAME, DEPARTMENT_NAME, DEPARTMENTS.LOCATION_ID FROM EMPLOYEES, DEPARTMENTS WHERE EMPLOYEES.DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM DEPARTMENTS WHERE LOCATION_ID=1700) AND EMPLOYEES.DEPARTMENT_ID=DEPARTMENTS.DEPARTMENT_ID
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
