SQL - Advanced Window Functions
Given a table
sales with columns region, month, and amount, what will this query return?SELECT region, month, amount, SUM(amount) OVER (PARTITION BY region ORDER BY month) AS running_total FROM sales;
