SQL Practice Logo

SQLPractice Online

Level 3 - IntermediateQuery-Based Questions

Employees Above Department Average

Return employee_name, department_id, and salary for employees whose salary is above their department average salary.

Schema Context

employees(id, name, department_id, salary)