SELECT order_id ,  count(*) FROM Order_items GROUP BY order_id
How many order items correspond to each order id?
SELECT order_id , count ( * ) FROM Order_items GROUP BY order_id
select order_id , count ( * ) from order_items group by order_id
How many order items correspond to each order id ?