SQL - GROUP BY and HAVING
Given the table
sales with columns region and amount, what is the output of this query?SELECT region, SUM(amount) FROM sales GROUP BY region;
