By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
id | timestamp | index_continuity_month |
---|---|---|
1 | 1583708400 | 0 |
1 | 1583772141 | 0 |
4 | 1583708400 | 0 |
4 | 1583794800 | 0 |
5 | 1583708400 | 0 |
5 | 1583794800 | 0 |
id | timestamp | index_continuity_month |
---|---|---|
1 | 1583708400 | 1 |
1 | 1583772141 | 2 |
4 | 1583708400 | 3 |
4 | 1583794800 | 4 |
5 | 1583708400 | 5 |
5 | 1583794800 | 6 |
id | timestamp | index_continuity_month |
---|---|---|
1 | 1583708400 | 1 |
1 | 1583772141 | 2 |
4 | 1583708400 | 3 |
4 | 1583794800 | 4 |
5 | 1583708400 | 5 |
5 | 1583794800 | 6 |