CREATE TABLE Order_items (order_id VARCHAR2, product_id VARCHAR2)

Show order ids and the number of products in each order.
SELECT order_id, COUNT(DISTINCT product_id) FROM Order_items GROUP BY order_id
SELECT "order_id", COUNT(DISTINCT "product_id") FROM "Order_items" GROUP BY "order_id"