By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Name | Begin_Date | End_Date |
---|---|---|
John | 2019-01-01 20:00:00.000 | 2019-01-02 08:00:00.000 |
John | 2019-01-03 08:00:00.000 | 2019-01-03 20:00:00.000 |
John | 2019-01-05 20:00:00.000 | 2019-01-06 08:00:00.000 |
John | 2019-01-07 08:00:00.000 | 2019-01-07 20:00:00.000 |