413 views
1 votes
1 votes

1 Answer

Best answer
1 votes
1 votes
B should be the answer.

First of all the innermost query will find the department with the largest budget.

secondly the next layer query will find the managers of that department.

And finally as these managers will itself be employees so they are selected by matching there ids at the top layer.
selected by

Related questions

0 votes
0 votes
1 answer
3
rayhanrjt asked Jan 6, 2023
772 views
Write SQL command to find DepartmentID, EmployeeName from Employee table whose average salary is above 20000.
2 votes
2 votes
1 answer
4
Subhrangsu asked Jun 18, 2022
447 views
Write SQL query to show all employees hired on June 4,1984 (non-default format)emp(empno,ename,job,mgr,hiredate,sal,comm,deptno)