Loading...
Peak Satisfaction
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
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.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.