Metric Range by Department
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Problem
HR is profiling how each department's performance metric is distributed. For each department, show the average, minimum, and maximum recorded metric value. Order from highest average to lowest.
Summary
Where each team's numbers sit, low to high.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.