Market Share
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant feedback.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L5
Problem
Strategy is assembling the investor deck and wants to show how total revenue splits across product categories. For each category, return its percentage of platform-wide transaction revenue, biggest slice first.
Summary
Every category wants a bigger slice.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.