DOC PREVIEW
UT Dallas CS 6385 - homeworkfour

This preview shows page 1 out of 3 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Homework FourCS325 Database Management SystemsSpring 2009Date Assigned: 02-13-2009Consider the following relational schema:Consider the following relational database:Specify the following queries on the relational schema shown above using the relational operators we discussed in class. Also show the result of each query as it would apply to the database shown above.a) Retrieve the names of all employees in Department 5 who work more than 10 hours per week on the ‘Product X’ project.b) List the names of all employees who have a dependent with the same first name as themselves.c) Find the names of all employees who are directly supervised by ‘Franklin Wong’.d) For each project, list the project name and the total hours per week (by all employees) spent on that project.e) For each department, retrieve the department name and the average salary of all employees working in that department.f) Retrieve the name of employees who work on EVERY project.g) Retrieve the average salary of all female employees.h) Find the names and addresses of all eemployees who work on at least one project located in Houston, but whose department has no location in Houston.i) List the last names of all department managers who have no dependents.Grading Criteria:Each problem receives a maximum of 4 points. Maximum grade for homework is 36 points.Relational Algebra: One point off for each incorrect notation 3 pointsRelation: Any error in resulting relation lost the point 1


View Full Document

UT Dallas CS 6385 - homeworkfour

Documents in this Course
assn1

assn1

2 pages

38rel2

38rel2

5 pages

Report

Report

3 pages

networks

networks

18 pages

lp2

lp2

44 pages

lp2 (2)

lp2 (2)

27 pages

lp1(1)

lp1(1)

21 pages

integer1

integer1

50 pages

FrankR2

FrankR2

3 pages

duality

duality

28 pages

CMST

CMST

44 pages

hw4

hw4

3 pages

for 1

for 1

11 pages

ENCh02

ENCh02

33 pages

pree

pree

2 pages

new  3

new 3

2 pages

new  2

new 2

2 pages

hw4a

hw4a

2 pages

T2_Sol

T2_Sol

4 pages

ISM3

ISM3

8 pages

hw4_sol

hw4_sol

6 pages

Elm04_06

Elm04_06

11 pages

atn proj2

atn proj2

20 pages

12CUT1

12CUT1

8 pages

09Ford

09Ford

23 pages

08FLOW

08FLOW

6 pages

03LP_su

03LP_su

6 pages

40REL40

40REL40

5 pages

39rel3

39rel3

5 pages

38arel2

38arel2

5 pages

37REL1

37REL1

3 pages

24TABU

24TABU

3 pages

22DYNPR

22DYNPR

3 pages

21B&C

21B&C

2 pages

20BBEX0

20BBEX0

3 pages

19BB

19BB

5 pages

14CAPBUD0

14CAPBUD0

11 pages

35BRXCH

35BRXCH

2 pages

34COMB

34COMB

4 pages

32CAPAS

32CAPAS

4 pages

31QUEUE

31QUEUE

3 pages

Load more
Download homeworkfour
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view homeworkfour and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view homeworkfour 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?