I have created a dbfiddle:
If I have this table of bookings (I have simplified here to make it easier to test, it should be much longer and have different booking names):