QuestionQ54
VerifiedUsing Subqueries to Solve QueriesYou need to write a SQL statement that returns the employee name, salary, department ID, and the highest salary earned in that employee's department for all employees whose salary is below the maximum salary in their department.
Which statement completes this task?
Community Discussion