Bargain Bin
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Problem
The procurement team needs floor pricing data for upcoming vendor negotiations. For each product category, show the lowest price, the highest price, and the spread between them. Skip any products with no price on file. Present categories from the widest price spread to the narrowest.
Summary
Floor prices. Right before the vendor call.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.