Tags / gaps-and-islands
Finding the Longest Negative Series in PostgreSQL: A Step-by-Step Solution
Detecting Changes in Columns Using Redshift Window Functions for Data Analysis
SQL Window Functions for Aggregate Calculations with the COALESCE and MAX Approach
Summing Over Rows Based on Column Value Using PostgreSQL Window Functions
Handling Missing Primary Keys for Derived Columns: The LAG/LEAD Puzzle in SQL Server 2012
BigQuery Data-Grouping: A Step-by-Step Guide to Combining Similar Data Points
Splitting a Column Value into Two Separate Columns in MySQL Using Window Functions