Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

urgent please help Write a SQL query which lists the employee's highest salary, lowest salary in each Job title and in each department name. -

image text in transcribed

urgent please help Write a SQL query which lists the employee's highest salary, lowest salary in each Job title and in each department name. - The result set should have department name, job title, lowest salary. DEPARTMENTS PDEPARTMENT_ID * DEPARTMENT_NAME MANAGER_ID LOCATION_ID JOB_HISTORY PF EMPLOYEE_ID P-START_DATE END DATE F * JOB_ID F DEPARTMENT_ID LOCATIONS LOCATION_ID STREET_ADDRESS POSTAL CODE * CITY STATE_PROVINCE COUNTRY_ID F EMPLOYEES - The result set should be ordered by department name. COUNTRIES P" COUNTRY_ID COUNTRY_NAME F REGION_ID JOBS P * JOB_ID + JOB_TITLE MIN_SALARY MAX_SALARY PEMPLOYEE ID FIRST_NAME * LAST NAME U * EMAIL PHONE_NUMBER * HIRE_DATE * JOB_ID SALARY COMMISSION_PCT IF MANAGER_ID F DEPARTMENT_ID V 1 REGIONS P - REGION_ID REGION_NAME

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

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions

Question

b. Did you suppress any of your anger? Explain.

Answered: 1 week ago