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?

Is that true this nested query? Shouldn't it be Select e.first_name,e.last_name? 2.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!