Loading...

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
mid, senior

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.

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.