SQL - GROUP BY and HAVING
You have a table
sales with columns region, product, month, and amount. You want to find the total sales amount for each region and product for each month. Which query achieves this?