Question: Write o query to list the departments where the difference between the highest and lowest salary is greater than the overage salary of all employees.
Write o query to list the departments where the difference between the highest and lowest salary is greater than the overage salary of all employees.
The query should print columns: deptno and deptname.
The result should be ordered by deptname in alphabetical order.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
