Question: In SQL, specify the following queries on the database specified in Figure 3.5 using the concept of nested queries and the concepts described in this
a. Retrieve the names of all employees who work in the department that has the employee with the highest salary among all employees.
b. Retrieve the names of all employees whose supervisor's supervisor has '888665555' for Ssn.
c. Retrieve the names of employees who make at least $10,000 more than the employee who is paid the least in the company.
Step by Step Solution
3.44 Rating (176 Votes )
There are 3 Steps involved in it
a SELECT LNAME FROM EMPLOYEE WHERE DNO SELECT DNO FROM EMP... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
888-CS-DB (2293).docx
120 KBs Word File
