Show order ids and the number of products in each order.
CREATE TABLE Order_items (order_id VARCHAR, product_id VARCHAR)
[SQL] SELECT order_id, COUNT(DISTINCT product_id) FROM Order_items GROUP BY order_id [/SQL]