By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
9 rows affected
| ID | TheCount | days |
|---|---|---|
| 1 | 1 | 2913863 |
| 1 | 2 | 39 |
| 2 | 1 | 41 |
| 3 | 1 | 2913861 |
| 3 | 2 | 29 |
| 3 | 3 | 12 |
| 4 | 1 | 20 |
| 5 | 1 | 19 |
| 5 | 2 | 8 |
9 rows affected
| ID | TheCount | days |
|---|---|---|
| 1 | 1 | 2913863 |
| 1 | 2 | 39 |
| 2 | 1 | 41 |
| 3 | 1 | 2913861 |
| 3 | 2 | 29 |
| 3 | 3 | 12 |
| 4 | 1 | 20 |
| 5 | 1 | 19 |
| 5 | 2 | 8 |