By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
datetime1 | count | num1 | num2 |
---|---|---|---|
2022-03-16 03:00:00 | 0 | 0 | 1 |
2022-03-16 03:00:00 | 0 | 0 | 2 |
2022-03-16 03:00:00 | 0 | 1 | 1 |
2022-03-16 03:00:00 | 0 | 1 | 2 |
2022-03-16 04:00:00 | 0 | 0 | 1 |
2022-03-16 04:00:00 | 0 | 0 | 2 |
2022-03-16 04:00:00 | 0 | 1 | 1 |
2022-03-16 04:00:00 | 0 | 1 | 2 |