Tags / gaps-and-islands
Identifying Potential Entry and Exit Rows in SQL Server Using CTEs
Splitting a Column Value into Two Separate Columns in MySQL Using Window Functions
Finding Gaps Between Timestamps for Multiple Entries in Data Analysis
Solving Duplicates in Time Periods from Repeated Groups Using SQL Analytics