Tags / gaps-and-islands
Finding Gaps Between Timestamps for Multiple Entries in Data Analysis
Finding Adjacent Vacations: A Recursive CTE Approach in PostgreSQL
SQL Join Against Date Ranges: Exploring Consecutive Dates with LAG, DATEDIFF, and Grouping
Aggregating Length of Time Intervals and Grouping to Fixed Time Grid: A Step-by-Step Solution
Identifying Consecutive Vacant Seats in MySQL: A Comprehensive Approach