Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For each project, list the project name and the total number of hours per week (by all the employees) spent on that project. Retrieve the

image text in transcribed

For each project, list the project name and the total number of hours per week (by all the employees) spent on that project.

Retrieve the names of employees who work on all the projects.

Tip: set division

Retrieve the names of employees who do not work on any project.

Note: James Borg in working on a project even though the work hour is null.

EMPLOYEE FNAME MINIT LNAME SSN SEX SALARYSUPERSSN DNO Smith 123456789 1965-01-09 333445555 1955-12-08 999887777 1968-07-19 Wallace 9876543211941-06-20 Narayan666884444 1962-09-15 453453453 1972-07-31 987987987 1969-03-29 888665555 1937-11-10 638 Voss, Houston, TX 975 Fire Oak, Humble, TXM 5631 Rice, Houston, TX 980 Dallas, Houston, TX 450 Stone, Houston, TX Jabbar E Borg DEPT LOCATIONS DEPARTMENT DNAME DNUMBER MGRSSN MGRSTARTDATE 1995-01-01 1981-06-19 Headquarters WORKS_ON ESSN PNO HOURS PROJECT PNAME PNUMBER PLOCATION DNUM Bellaire 5 and 3 20 987654321 DEPENDENT ESSN DEPENDENT NAME SEX RELATIONSHIP 1983-10-25 F 195805-03 1942-02-28 1988-01-04 1988-12-30 1967-05-05 123456789 DAUGHTER SPOUSE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions