Peak Satisfaction
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Problem
HR is preparing the annual engagement report and wants to identify top-performing departments. For each department, show the highest satisfaction score, the lowest satisfaction score, and the number of satisfaction measurements on file. Only look at the satisfaction_score metric. Present departments from the highest peak score to the lowest.
Summary
Which departments are winning on satisfaction?
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.