Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Use CTE ( WITH...AS...) to rewrite the query of #2 (list the name and job title of the faculties who received the salary raise.
1. Use CTE ( WITH...AS...) to rewrite the query of #2 (list the name and job title of the faculties who received the salary raise.
2. List the name of the department that have less than 2 people. (Hint: aggregation and having)
3. List the total, average, max, and min salaries of all faculties, and rename the column names as total_salary, average_salary, highest_salary, lowest_salary. (Hint: aggregation and rename column)
4.The salary tiers are defined as: Tier1: <=80000 Tier2: >80000 and <=95000 Tier3: >95000
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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