SQL - Advanced Window Functions
You have a sales table with columns
region, sale_date, and amount. You want to calculate a running total of sales per region ordered by sale_date. Which query correctly achieves this?