hard20 pts · first answer countswindow-functionssqlgaps-and-islands
Merging overlapping bookings
Room bookings can overlap in chains, where a third booking overlaps only the second. Which approach correctly merges each chain into one interval?
Discussion 0
Join free to post in the discussion.