By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
15 rows affected
city | type | month | value |
---|---|---|---|
one | Active | 0 | 222 |
one | Push | 0 | -7 |
one | Push | 1 | 1 |
one | Push | 2 | -6 |
one | Push | 3 | 0 |
two | Active | 0 | 363 |
two | Push | 0 | -5 |
two | Push | 1 | 4 |
two | Push | 2 | -5 |
two | Push | 3 | 5 |
three | Active | 0 | 394 |
three | Push | 0 | 10 |
three | Push | 1 | 5 |
three | Push | 2 | -8 |
three | Push | 3 | 0 |