Loading...

Ghost Products

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

Domain
SQL
Difficulty
medium

Problem

Merchandising is hunting for dead inventory that has never sold. Find every product in products that has no matching row in transactions. Return the product_name for each.

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.