Database: customers_and_invoices
Question: How many different products correspond to each order id?
SQL:
SELECT order_id ,  count(DISTINCT product_id) FROM Order_items GROUP BY order_id