Solutionunvalidated
start_hour2 and end_hour2 could be null as well. Tension: How do I check if the timestamp is not between (start_hour1 and end_hour1) and (start_hour2 and end_hour2). Outcome: or just pure and simple `BETWEEN`.
b35fe578-144c-4263-a23a-c211ee7c7a33
start_hour2 and end_hour2 could be null as well. Tension: How do I check if the timestamp is not between (start_hour1 and end_hour1) and (start_hour2 and end_hour2). Outcome: or just pure and simple BETWEEN.