By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
100 rows affected
| branchId | sumTotalPrice | timeframe |
|---|---|---|
| 2 | 16598.43 | 2020-01-01 00:00:00.000 |
| 2 | 18998.73 | 2021-01-01 00:00:00.000 |
| 2 | 13927.7 | 2022-01-01 00:00:00.000 |
| 2 | 40572.99 | 2023-01-01 00:00:00.000 |
| 2 | 9490.49 | 2024-01-01 00:00:00.000 |