作者: kallinr 时间: 6 天前
SELECT category, COUNT(*) AS product_count
FROM products
GROUP BY category;作者: oliver.tang 时间: 6 天前
select count(product_id) from products group by category 作者: 海海豚 时间: 6 天前
SELECT category, COUNT(*) AS product_count
FROM products
GROUP BY category;作者: jingzizx 时间: 6 天前
SELECT category, COUNT(*) AS product_count
FROM products
GROUP BY category;作者: 你好浮戈 时间: 6 天前
SELECT category, COUNT(*) AS product_count
FROM products
GROUP BY category;作者: litingting0214 时间: 6 天前
select count(product_id) from products group by category