Merge Overlapping Subintervals Leetcode Sql Problems