For each region and month, return region, month, revenue and mom_change_pct = % change vs the previous month (2 decimals; NULL for the first month).
18 rows with columns region, month, revenue, mom_change_pct — first 3 shown:
| # | ||||
|---|---|---|---|---|
| 1 | South | 2025-01-01 | 380000 | NULL |
| 2 | South | 2025-02-01 | 390000 | 2.63 |
| 3 | South | 2025-03-01 | 410000 | 5.13 |
Run your code to see the output here.