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 see how each department scores on satisfaction. For the satisfaction_score metric, give each department its highest and lowest score along with how many measurements are on file, and list the departments from the highest peak score on down.
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.