Loading...
Metric Volatility Gap
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- mid
Problem
HR suspects some departments have wild performance swings while others are stable. Show each department's metric value spread (highest minus lowest), with the most volatile departments first.
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.