Show order ids and the number of products in each order.
CREATE TABLE Order_items (order_id VARCHAR, product_id VARCHAR)
SELECT order_id, COUNT(DISTINCT product_id) FROM Order_items GROUP BY order_id
### Context: CREATE TABLE Order_items (order_id VARCHAR, product_id VARCHAR) ### Question: Show order ids and the number of products in each order. ### Answer: SELECT order_id, COUNT(DISTINCT product_id) FROM Order_items GROUP BY order_id