Question: Using relational algebra specify the following queries on the database schema shown in the above figure using relational operators . Also, show the result of

 Using relational algebra specify the following queries on the database schema

Using relational algebra specify the following queries on the database schema shown in the above figure using relational operators. Also, show the result of each query if applied to the database of the figure above.

1. For each employee, retrieve employees name, and the total hours working in projects

2. List the last names of female employees who have no dependents.

EMPLOYEE | FNAME | MINIT | LNAME | SSN SEX SALARY SUPERSSN 333445555 1955-12-08 999887777 1968-07-19 Wallace 9876543211941-06-20 666884444 1962-09-15 453453453 1972-07-31 987987967 1969-03-29 888665555 1937-11-10 638 Voss, Houston, TX 975 Fire Oak, Humble, TX 5631 Rice, Houston, TX 980 Dalas, Houston, TX 450 Stone, Houston, TX Jabbar E Borg DEPT LOCATIONS DEPARTMENT DNAME MGRSTARTDATE 1988-05-22 1995-01-01 1981-06-19 987654321 WORKS-ON ESSN | PNQHOURS 23456789 PNUMBER PLOCATION DNUM 3 5 DEPENDENT DEPENDENT NAME SEX RELATIONSHIP M 1983-10-25 F 1958-05-03 1942-02-28 Abner 988-12-30 1967-05-05

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!