Question: Consider the following relational schema: Emp(eid:integer, ename:string, age:integer, salary:real) Works(eid:integer, did:integer, pc time:integer) Dept(did:integer, dname:string, budget:real, managerid:integer) Print the name of each employee whose salary
Consider the following relational schema:
Emp(eid:integer, ename:string, age:integer, salary:real)
Works(eid:integer, did:integer, pc time:integer)
Dept(did:integer, dname:string, budget:real, managerid:integer)
Print the name of each employee whose salary exceeds the budget of any department that he or she works in.
Find the department names and number of employees that the average salaries of their employees are less than $64,000.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
