Loading...

Category Census

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

Domain
SQL
Difficulty
easy

Problem

The warehouse team is prepping inventory numbers for the quarterly review. They need to see how many products sit in each category, but only categories that carry more than eight items are worth discussing. Show the category and the product tally, sorted from largest category to smallest.

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.