Answered step by step
Verified Expert Solution
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_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...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started