Loading...

Unsold Product Categories

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

Domain
SQL
Difficulty
medium
Seniority
mid

Problem

Dead inventory inflates storage costs. For each product category, calculate the percentage of products in that category that have never appeared in any transaction.

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.