The Costliest Trio
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
We're building a gift-bundle recommender for a retail catalog, where every bundle is three different products and its price is the sum of the three item costs. Surface the 100 most expensive bundles, listing each bundle's three product names alphabetically in one comma-separated string next to its combined price.
Summary
Three products, one price tag. Surface the priciest bundles.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.