A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L4
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.
Summary
Stable metrics are boring. Volatile ones need attention.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.