作者: kallinr 时间: 2024-11-8 09:17
SELECT category, COUNT(*) AS product_count
FROM products
GROUP BY category;作者: oliver.tang 时间: 2024-11-8 09:17
select count(product_id) from products group by category 作者: 海海豚 时间: 2024-11-8 10:54
SELECT category, COUNT(*) AS product_count
FROM products
GROUP BY category;作者: jingzizx 时间: 2024-11-8 11:28
SELECT category, COUNT(*) AS product_count
FROM products
GROUP BY category;作者: 你好浮戈 时间: 2024-11-8 13:14
SELECT category, COUNT(*) AS product_count
FROM products
GROUP BY category;作者: litingting0214 时间: 2024-11-8 13:53
select count(product_id) from products group by category