Top Ad Campaigns by Revenue
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant feedback.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Problem
The ad ops team is building the quarterly revenue leaderboard and only has room for the top five campaigns. Give them those five by total ad revenue, biggest first.
Summary
Every campaign has a bottom line. Stack them up.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.