Question: Consider the following Schema Emp(eid:integer, ename:string, age: integer, salary: real) Works(eid:integer, did: integer, pct_time: integer) Dept(did: integer, dname: string, budget: real, managerid: integer) An employee
Consider the following Schema
Emp(eid:integer, ename:string, age: integer, salary: real) Works(eid:integer, did: integer, pct_time: integer) Dept(did: integer, dname: string, budget: real, managerid: integer)
An employee can work in more than one department; the pct_time field of the. Works relation indicates percentage of time. Managerid references Emp table.
Clicking on the next page completes the answers to the questions on this page (you cannot go back!). Question:
Write an SQL Query to Print the ename of the manager who manages the department with the largest budget
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
