By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
booked_id | name | start_time | end_time | max_velocity_time | start_time_velocity | end_time_velocity | max_velocity |
---|---|---|---|---|---|---|---|
null | BAR | 2021-01-01 00:00:02 | 2021-01-01 00:00:06 | 2021-01-01 00:00:05 | 4.00 | 2.00 | 10.00 |
42 | BAR | 2021-01-01 00:00:07 | 2021-01-01 00:00:11 | 2021-01-01 00:00:10 | 5.00 | 2.00 | 17.00 |
null | BAZ | 2021-01-01 00:00:00 | 2021-01-01 00:00:04 | 2021-01-01 00:00:03 | 3.00 | 2.00 | 6.00 |
null | FOO | 2021-01-01 00:00:01 | 2021-01-01 00:00:03 | 2021-01-01 00:00:02 | 2.00 | 2.00 | 3.00 |