Database: customers_and_invoices
Question: Show all product names and the total quantity ordered for each product name.
SQL:
SELECT T2.product_name ,  sum(T1.product_quantity) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id  =  T2.product_id GROUP BY T2.product_name