Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a SQL query to get the job ID and maximum salary of the employees where maximum salary is greater than or equal to $6000

Create a SQL query to get the job ID and maximum salary of the employees where maximum salary is greater than or equal to $6000

Create a SQL query to get the average salary for all departments employing more than 10 employees

Create SQL a query to get the total salary, maximum, minimum, average salary of employees (job ID wise), for department ID 147 only.

Write a query to get the average salary for each job ID excluding SA_REP.

Write a query to find the manager ID and the salary of the highest-paid employee for that manager.

using sql oracle live hr.employee

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

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

consider the following linear programming problem

Answered: 1 week ago