Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

14. Create a SQL program to show which job class has the highest total project charges. SELECT jobclass.job_class_code, ROUND(SUM(hourly chargeout rate hours charged), 2)

14. Create a SQL program to show which job class has the highest total project charges. SELECT jobclass.job

14. Create a SQL program to show which job class has the highest total project charges. SELECT jobclass.job_class_code, ROUND(SUM(hourly chargeout rate hours charged), 2) AS Project Charges FROM assignment, project, jobclass, employee WHERE assignment.proj_num= project.proj_num AND assignment.emp num = employee.emp_num AND GROUP BY job class code ORDER BY project charges DESC; Result Grid *83832888 SA BE DA employee.job_class_code-jobclass.job_class_code AD GS Result Grid PR job dass_code b. Write the code and insert the answer for the highest average charges? Your answer should look like this job dass_code DD DD 8382838 SA DA GS Fter Rows! Project Charges 18490.50 16834.50 3924. 13 3910.53 2011.10 1787.50 1391.69 591.14 695.84 595.83 591.14 Fiber Rowst Average Project Charges 4622.62 3366.90 2011.10 1962.06 1303.51

Step by Step Solution

There are 3 Steps involved in it

Step: 1

It appears that youve shared a screenshot of a SQL exercise that includes two parts a A SQL query th... 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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions

Question

When do I give in to my bad habit?

Answered: 1 week ago