Loading...

Category-Specific Product Volume

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 team is building a per-product Electronics exposure report. For each product, show how much transaction volume came specifically from the 'Electronics' category. Products that have never been part of an Electronics transaction should still appear with a zero.

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.