Loading...

Cheapest High-Rated Product

A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
medium
Seniority
junior

Problem

A budget-conscious customer wants the best deal on highly rated electronics. Find the single cheapest product with a rating of at least 4.0, available stock, and a category containing 'Electronics'. Show just the product name and price.

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.