SQL - GROUP BY and HAVING
Given the table
orders with columns customer_id and order_amount, what will this query return?SELECT customer_id, SUM(order_amount) FROM orders GROUP BY customer_id;