The Heavy Hitters
A easy SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L4
Interview Prompt
We're putting together a revenue leaderboard for the product catalog, where a product's standing is its total transaction amount across every sale. Publish the top 10 products, biggest earners first, each shown with its name, its total, and its position on the board.
Summary
Total sales tell the real story. Surface the products that carry the catalog.
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