Above Their Station
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- mid
Problem
A workforce analytics team is auditing pay structure and wants to spot people who out-earn the person they report to. List each such employee next to their manager with both salaries, widest pay gap at the top.
Summary
Sometimes the report out-earns the boss. Find where the ladder bends.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.