Question: Write the SQL statement to: - Retrieve the name of employee whose salary is greater than the average salary of all the employees in department
Write the SQL statement to:
- Retrieve the name of employee whose salary is greater than the average salary of all the employees in department 5.
- Retrieve the name of employee whose salary is greater than the average salary of his or her corresponding department.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
