Loading...
Price Check
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
Problem
The finance team is reviewing pricing strategy across the product catalog. For each category, they need to see the average price and the number of products that actually have a price on file. Exclude any product whose price is missing, and list categories from most expensive on average to least.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.