Top Recent Sellers
An easy SQL mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L5
Interview Prompt
Our marketplace homepage is getting a trending widget, filled from the `transactions` table. It should show the products with the highest total sales amount over the recent period, largest first.
Summary
Fresh data, top sellers. The recent leaderboard.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write and run your SQL against a real database
- Answer the interviewer's follow-up questions, then get a hire or no-hire decision