Skip to content
SQLSimplified
mediumemployeesjoingroup-byavg

Average Salary by Department

Problem

Return each department name and its average salary (rounded to 2 decimals), ordered by avg_salary descending.

Try It

Loading playground environment...

Hint

Solution

Next Problem