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

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!