The Vote Tally
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L5
Problem
Finance is reconstructing the daily revenue picture for product 1001. For each transaction date that the product has activity on, show the net revenue (sum of transaction amounts), in chronological order.
Summary
Net revenue, day by day, for one product in one region.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.