By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
date | user_id | schedule_start | schedule_end | actual_start | actual_end |
---|---|---|---|---|---|
2019-07-06 | 1 | 10:00:00 | 18:00:00 | 10:00:00 | 18:00:00 |
2019-07-07 | 1 | 08:00:00 | 12:00:00 | 08:00:00 | 12:00:00 |
2019-07-07 | 1 | 16:00:00 | 22:00:00 | 16:00:00 | 22:00:00 |