Mode of Small Team Costs
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L4
Problem
Among small teams (those with no more than 4 services), find the most common per-service cost amount. Show the single most frequent amount and how many times it appears.
Summary
One charge keeps showing up everywhere.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.