Skip to content

Topic

Gaps and islands

A long-standing family of SQL problems concerned with finding consecutive runs of values in ordered data, such as login streaks or uninterrupted sensor readings, and the breaks between them.

Current clusters