The Costliest Trio
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
We're building a gift-bundle recommender for a retail catalog, where a bundle is three different products and its price is the sum of the three item costs. Surface the most expensive bundles, giving each one's three product names as a single comma-separated string next to its combined price.
Summary
Three products, one price tag. Surface the priciest bundles.
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