Show order ids and the total quantity in each order.
SELECT order_id ,  sum(product_quantity) FROM Order_items GROUP BY order_id
total quantity in each order refers to SUM(product_quantity); show order ids and the total quantity refers to SELECT order_id, SUM(product_quantity);