Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab - 6 Aggregate Functions 1. Create a SQ 2 Create a sQL query to get the average salary for all departments employing more than

image text in transcribed
Lab - 6 Aggregate Functions 1. Create a SQ 2 Create a sQL query to get the average salary for all departments employing more than 10 employees 3 Create SQL a query to get the total salary, maximum, minimum, average salary of employees (ob ID wise), for department ID 147 only. 4. Write a query to get the average salary for each job ID excluding SA REP 5. Write a query to find the manager ID and the salary of the highest-paid employee for that manager L query to get the job ID and maximum salary of the employees where maximum salary is greater than or equal to $6000 Lab - 6 Aggregate Functions 1. Create a SQ 2 Create a sQL query to get the average salary for all departments employing more than 10 employees 3 Create SQL a query to get the total salary, maximum, minimum, average salary of employees (ob ID wise), for department ID 147 only. 4. Write a query to get the average salary for each job ID excluding SA REP 5. Write a query to find the manager ID and the salary of the highest-paid employee for that manager L query to get the job ID and maximum salary of the employees where maximum salary is greater than or equal to $6000

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

Demystifying Databases A Hands On Guide For Database Management

Authors: Shiva Sukula

1st Edition

8170005345, 978-8170005346

Students also viewed these Databases questions