By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
RecordDateTime | AttributeA | AttributeB | Amount | StartValue | EndValue |
---|---|---|---|---|---|
2020-08-01 00:00:00.000 | AttA01 | AttB01 | 73.00 | 3620 | 14560 |
2020-08-01 00:20:00.000 | AttA02 | AttB01 | 30.00 | 2350 | 2350 |
2020-08-01 00:46:00.000 | AttA01 | AttB01 | 15.00 | 1370 | 1370 |
2020-08-01 02:15:00.000 | AttA01 | AttB01 | 41.00 | 1380 | 13100 |