By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
version() |
---|
8.0.30 |
Dates | max_col1_val_difference |
---|---|
2022-07-01 | 6 |
2021-07-01 | 10 |
2020-07-01 | 0 |
Dates | max_col1_val_difference | max_col1_val_percent | max_dif_with_percentage |
---|---|---|---|
2022-07-01 | 6 | 5.08 | 6 (5.08%) |
2021-07-01 | 10 | 10.00 | 10 (10.00%) |
2020-07-01 | 0 | 0.00 | 0 (0.00%) |