Scenario SQL Question
Employees Earning Above Average
Build mastery in Subqueries with this scenario-based SQL challenge and live execution support.
Problem Statement
Find every employee whose salary is strictly greater than the company-wide average salary. Use a scalar subquery in the WHERE clause. Return employee_id, first_name, last_name, salary — ordered by salary DESC, employee_id.
Relevant Tables
employees
SQL Concepts Used in This Scenario
Strengthen your understanding with these targeted learning topics: