The Vote Tally
A hard SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L5
Interview Prompt
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.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision