Loading...

High-Rated In-Stock Percentage

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

Domain
SQL
Difficulty
easy
Seniority
junior

Problem

The merchandising lead wants a single number for the board slide: what percentage of the entire catalog is both in stock and rated 4 or above?

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.