By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
6 rows affected
Start | End | TaskID | EmpId | Minutes |
---|---|---|---|---|
2023-11-01 20:30:00.000 | 2023-11-01 23:30:00.000 | 2 | 1 | 180 |
2023-11-01 20:30:00.000 | 2023-11-02 01:30:00.000 | 2 | 3 | 210 |
2023-11-01 20:30:00.000 | 2023-11-02 01:30:00.000 | 2 | 3 | 90 |
2023-11-01 21:30:00.000 | 2023-11-01 23:30:00.000 | 2 | 2 | 120 |
2023-11-02 20:30:00.000 | 2023-11-02 23:30:00.000 | 2 | 1 | 180 |
2023-11-02 20:30:00.000 | 2023-11-02 23:30:00.000 | 2 | 2 | 180 |
2023-11-02 20:30:00.000 | 2023-11-03 00:30:00.000 | 2 | 3 | 210 |
2023-11-02 20:30:00.000 | 2023-11-03 00:30:00.000 | 2 | 3 | 30 |