DataDrivenDataDriven
LearnPracticeInterviewDailyJobsCommunity

Category Census

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

Domain
SQL
Difficulty
easy
Seniority
L3

Problem

The merchandising team is building a feature shelf from top-rated stock, meaning products rated 4.0 stars or higher. Show each category that carries more than four of them along with that count, the best-stocked category first.

Summary

Which aisles are worth restocking?

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • SQL Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons