By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Records: 15 Duplicates: 0 Warnings: 0
customerid | consecutive_days |
---|---|
3 | 2 |
4 | 4 |
4 | 2 |
5 | 3 |
Records: 15 Duplicates: 0 Warnings: 0
customerid | consecutive_days |
---|---|
3 | 2 |
4 | 4 |
4 | 2 |
5 | 3 |