mysql 分组 Oracle

SELECT customer_id, COUNT(*) FROM orders GROUP BY customer_id HAVING customer_id