By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| month | year | contracts | totals | running_totals |
|---|---|---|---|---|
| January | 2019 | 6 | 63234.72 | 63234.71923828125 |
| February | 2019 | 10 | 85703.04 | 148937.75939941406 |
| March | 2019 | 4 | 46727.04 | 195664.79919433594 |