How many different products correspond to each order id?
SELECT order_id ,  count(DISTINCT product_id) FROM Order_items GROUP BY order_id
different products = count(DISTINCT product_id); correspond to each order id = GROUP BY order_id;