Removing duplicates in a sequence...
Read MoreHow do I group on contiguous ranges?...
Read MoreGet a list of dates between two dates...
Read MoreChanging data structure from "Date" to "From_Date" and "To_Date" based...
Read MoreFind the Active Item for a Given Date With Time Intervals and Item Criteria...
Read MoreSQL explode records that have overlapping date ranges...
Read MoreCreate Iterative Groups in SQL where certain thresholds start a new group number...
Read MoreUsing SQL Server window functions with year and month(Period of time)...
Read MoreSUM unique GROUP BY values in sqlite and count groups of consecutive values...
Read MoreGaps and Islands Getting Last Island Window...
Read MoreConcat the first and last sequential line number with a hyphen...
Read MoreDetect 1st row of an ordinal chain using recursive CTE or alternative...
Read MoreQuery that groups rows based on the difference between datetime column value from a previous row?...
Read MorePostgres Fixed 7-day window shifting data...
Read MoreSQL Gaps and Islands with multiple overlapping criteria...
Read MoreCalculate Date Difference for Non-Consecutive Months...
Read MoreSum a Column of a Timeseries by an Order Number when the Ordernumber is not unique...
Read MoreCopy an ID to rows with adjacent timestamp ranges sharing a class...
Read MoreStreak for a given endDate SQL (Postgres)...
Read MoreHow to calculate average stock status in day...
Read MoreHow to GROUP_CONCAT row values, but break groups by an arbitrary "gap" flag?...
Read MoreInsert missing rows in time series consumption history...
Read MoreSelect rows without overlap / dynamic 1 hour intervals...
Read MoreWindowing Function To Keep Track Of "Latest Seen" Row...
Read MoreHow to label groups in postgresql when group belonging depends on the preceding line?...
Read MoreFind a gap > 10min and select begin/end dates in timestamp logs...
Read More