First Among Equals
A medium SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Interview Prompt
The merchandising team wants a leaderboard of the products that move the most units, counting every unit across all of a product's orders. Return every product tied for the highest unit total, along with how many orders it took.
Summary
When more than one product wears the crown, name every one of them.
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