Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

1. Display the employees working on each project.

Display the project name, the last


name and first name of employee, and the job description.
PROJ_NAME

EMP_LNAME

EMP_FNAME

JOB_DESCRIPTION

Evergreen

News

John

Database Designer

Amber Wave

Arbough

June

Electrical Engineer

Amber Wave

Arbough

June

Electrical Engineer

Amber Wave

Arbough

June

Electrical Engineer

Evergreen

Arbough

June

Electrical Engineer

Evergreen

Arbough

June

Electrical Engineer

Rolling Tide

Ramoras

Anne

Systems Analyst

Rolling Tide

Ramoras

Anne

Systems Analyst

Starflight

Ramoras

Anne

Systems Analyst

Starflight

Johnson

Alice

Database Designer

Rolling Tide

Johnson

Alice

Database Designer

Rolling Tide

Johnson

Alice

Database Designer

Starflight

Washington

Ralph

Systems Analyst

Amber Wave

Washington

Ralph

Systems Analyst

Rolling Tide

Washington

Ralph

Systems Analyst

Starflight

Joenbrood

Delbert

Applications Designer

Evergreen

Bawangi

Travis

Systems Analyst

Starflight

Bawangi

Travis

Systems Analyst

Rolling Tide

Bawangi

Travis

Systems Analyst

Rolling Tide

Williamson

Angie

Bio Technician

Amber Wave

Williamson

Angie

Bio Technician

Evergreen

Williamson

Angie

Bio Technician

Amber Wave

Williamson

Angie

Bio Technician

Starflight

Williamson

Angie

Bio Technician

Amber Wave

Williamson

Angie

Bio Technician

2. Modify Query 1 to display only that of Evergreen project.


3. Modify Query 1 to display only that of the employees with last names that start with
the phrase AR.

4. Display total earning of each employee based on the charge per hour and the
number of hours they worked on the projects.
amount earned = assignment charge per hour and number of hours worked
EMP_LNAME

EMP_FNAME

Amount Earned

Arbough

June

1664.65003204346

Bawangi

Travis

Joenbrood

Delbert

Johnson

Alice

1382.5

News

John

387.5

Ramoras

Anne

1218.69998168945

Washington

Ralph

840.150024414063

Williamson

Angie

649.539962768555

1276.75
192.849990844727

5. Modify query 4 to display the maximum and the minimum number of hours worked
by each employee.
EMP_LNAME

EMP_FNAME

Arbough

June

Bawangi

Travis

Joenbrood

Delbert

Johnson

Amount Earned

Maximum Hours

Minimum Hours

1664.65003204346

6.1

0.9

1209.375

5.6

182.779998779297

3.8

3.8

Alice

1562.5

4.7

3.5

News

John

387.5

3.1

3.1

Ramoras

Anne

1151.32498168945

4.9

2.8

Washington

Ralph

803.025024414063

3.4

2.2

Williamson

Angie

649.539962768555

4.2

6. Calculate the amount spent per project.


PROJ_NAME

Amount Spent

Amber Wave

1544.80000305176

Evergreen

1806.52000427246

Rolling Tide

2582.65997314453

Starflight

1676.71501922607

7. Calculate the amount spent per project per employee.


PROJ_NAME

EMP_LNAME

EMP_FNAME

Amount Spent

Amber Wave

Arbough

June

870.35001373291

Amber Wave

Washington

Ralph

328.950012207031

Amber Wave

Williamson

Angie

345.499977111816

Evergreen

Arbough

June

794.300018310547

Evergreen

Bawangi

Travis

541.799987792969

Evergreen

News

John

Evergreen

Williamson

Angie

82.9199981689453

Rolling Tide

Bawangi

Travis

474.075012207031

Rolling Tide

Johnson

Alice

1025

Rolling Tide

Ramoras

Anne

677.249969482422

Rolling Tide

Washington

Ralph

261.225006103516

Rolling Tide

Williamson

Angie

145.109985351563

Starflight

Bawangi

Travis

193.5

Starflight

Joenbrood

Delbert

Starflight

Johnson

Alice

537.5

Starflight

Ramoras

Anne

474.075012207031

Starflight

Washington

Ralph

212.850006103516

Starflight

Williamson

Angie

76.0100021362305

387.5

182.779998779297

8. Calculate the amount earned by employee per project.


EMP_LNAME

EMP_FNAME

PROJ_NAME

Amount Earned

Arbough

June

Amber Wave

870.35001373291

Arbough

June

Evergreen

794.300018310547

Bawangi

Travis

Evergreen

541.799987792969

Bawangi

Travis

Rolling Tide

474.075012207031

Bawangi

Travis

Starflight

193.5

Joenbrood

Delbert

Starflight

182.779998779297

Johnson

Alice

Rolling Tide

Johnson

Alice

Starflight

537.5

News

John

Evergreen

387.5

Ramoras

Anne

Rolling Tide

677.249969482422

Ramoras

Anne

Starflight

474.075012207031

Washington

Ralph

Amber Wave

328.950012207031

Washington

Ralph

Rolling Tide

261.225006103516

Washington

Ralph

Starflight

212.850006103516

1025

EMP_LNAME

EMP_FNAME

PROJ_NAME

Amount Earned

Williamson

Angie

Amber Wave

345.499977111816

Williamson

Angie

Evergreen

82.9199981689453

Williamson

Angie

Rolling Tide

145.109985351563

Williamson

Angie

Starflight

76.0100021362305

9. Calculate the amount spent by each project per job description.


PROJ_NAME

JOB_DESCRIPTION

Amount Spent

Amber Wave

Bio Technician

345.499977111816

Amber Wave

Electrical Engineer

Amber Wave

Systems Analyst

328.950012207031

Evergreen

Bio Technician

82.9199981689453

Evergreen

Database Designer

387.5

Evergreen

Electrical Engineer

794.300018310547

Evergreen

Systems Analyst

541.799987792969

Rolling Tide

Bio Technician

145.109985351563

Rolling Tide

Database Designer

Rolling Tide

Systems Analyst

1412.54998779297

Starflight

Applications Designer

182.779998779297

Starflight

Bio Technician

76.0100021362305

Starflight

Database Designer

Starflight

Systems Analyst

870.35001373291

1025

537.5
880.425018310547

10. Calculate the amount earned per job.


JOB_DESCRIPTION

Amount Earned

Applications Designer

182.779998779297

Bio Technician

649.539962768555

Database Designer

1950

Electrical Engineer

1664.65003204346

Systems Analyst

3163.72500610352

You might also like