The HR department needs the following reports: 4. Find the highest, lowest, sum, and average salary of all employees. Label the columns as Maximum, Minimum, Sum, and Average, respectively. Round your results to the nearest whole number. Save your SQL statement as lab_05_04.sql. Run the query. Maximum Minimum Sum Average 1 24000 2500 175500 8775 5. Modify the query in lab_05_04.sql to display the minimum, maximum, sum, and average salary for each job type. Resave lab_05_04.sql as lab_05_05.sql. Run the statement in lab_05_05.sql. cads O JOB_ ID Maximum Minimum Sum Average 1 IT_PROG 9000 4200 19200 6400 2 AC_MGR 12000 12000 12000 3 AC_ACCOUNT 8300 8300 8300 4 ST_MAN 5800 5800 5800 5800 5 AD_ASST 6 AD_VP 4400 4400 ocs 17000 34000 17000 7 SA_MAN 10500 10500 10500 10500 8 MK_MAN 13000 13000 13000 24000 24000 24000 10 SA_REP 11000 7000 26600 8867 11 MK_REP 6000 6000 6000 6000 ramntern& 12 ST CLERK 3500 2925 2500 11700

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

What is input sql 

The HR department needs the following reports:
4. Find the highest, lowest, sum, and average salary of all employees. Label the columns
as Maximum, Minimum, Sum, and Average, respectively. Round your results to the nearest
whole number. Save your SQL statement as lab_05_04.sql. Run the query.
Maximum Minimum Sum Average
1
24000
2500 175500
8775
5. Modify the query in lab_05_04.sql to display the minimum, maximum, sum, and average
salary for each job type. Resave lab_05_04.sql as lab_05_05.sql. Run
in lab_05_05.sql.
Minimum Sum
cades
Maximum
Average
6400
12000
8300
JOB_ID
1 IT_PROG
9000
2 AC_MGR
12000
3 AC_ACCOUNT
8300
8300 8300
4 ST_MAN
5800
5800
5800
5800
5 AD_ASST
6 AD_VP
4400
4400
4400
4400
17000
10500
17000 34000
7 SA_MAN
10500
10500 10500
8 MK_MAN
13000
13000 13000
13000
24000
24000 24000
24000
11000
7000 26600
8867
11 MK_REP
6000
6000
6000
6000
de nter
12 ST_CLERK
3500
2500 11700
2925
Transcribed Image Text:The HR department needs the following reports: 4. Find the highest, lowest, sum, and average salary of all employees. Label the columns as Maximum, Minimum, Sum, and Average, respectively. Round your results to the nearest whole number. Save your SQL statement as lab_05_04.sql. Run the query. Maximum Minimum Sum Average 1 24000 2500 175500 8775 5. Modify the query in lab_05_04.sql to display the minimum, maximum, sum, and average salary for each job type. Resave lab_05_04.sql as lab_05_05.sql. Run in lab_05_05.sql. Minimum Sum cades Maximum Average 6400 12000 8300 JOB_ID 1 IT_PROG 9000 2 AC_MGR 12000 3 AC_ACCOUNT 8300 8300 8300 4 ST_MAN 5800 5800 5800 5800 5 AD_ASST 6 AD_VP 4400 4400 4400 4400 17000 10500 17000 34000 7 SA_MAN 10500 10500 10500 8 MK_MAN 13000 13000 13000 13000 24000 24000 24000 24000 11000 7000 26600 8867 11 MK_REP 6000 6000 6000 6000 de nter 12 ST_CLERK 3500 2500 11700 2925
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY