Reported in a candidate post, Oct 2023
SQL query for employee salary greater than department average
Filed under SAP
The question
Write an SQL query to retrieve employees whose salary is greater than the average salary of their department.
No write-up yet. Related questions below have one.
Related SAP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.