gitGood.dev
← SQL Playground

Products Per Category

Easy
Return each product 'category' and how many products it contains as 'product_count'.
Schema
products (id, name, category, price)
sales (id, product_id, quantity, sale_date)
Loading editor…
Hints