Top Shelf
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant feedback.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Problem
A procurement team sets vendor price ceilings from the highest price in each product category, along with the product sitting at that ceiling. Products with no price on record don't count. Give them the three categories with the highest ceilings, most expensive first.
Summary
Buyers need to know ceiling prices before negotiating with vendors.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.