By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
7 rows affected
| EmpID | In | Out |
|---|---|---|
| 1 | 2019-10-23 12:00:00.000 | 2019-10-23 18:45:45.000 |
| EmpID | In | Out |
|---|---|---|
| 1 | 2019-10-23 12:00:00.000 | 2019-10-23 18:45:45.000 |
| EmpID | work_hours |
|---|---|
| 1 | 06:45:45 |
| 2 | 11:01:44 |
| 3 | 00:00:00 |
Warning: Null value is eliminated by an aggregate or other SET operation.
| EmpID | work_hours |
|---|---|
| 1 | 06:45:45 |
| 2 | 11:01:44 |
| 3 | 00:00:00 |
Warning: Null value is eliminated by an aggregate or other SET operation.