📰00Read later0Read MoreFind login streaks in SQL with the gaps-and-islands trick (PostgreSQL and SQLite)DEV Community: sql·DailyDrills·1 day ago#MXmTEXnq#devtosql#devto#dev#days#user_id+7 more🧰Tag tools✨Add tagFind consecutive-day streaks in SQL with ROW_NUMBER: a worked example, the four bugs that give wrong streaks, and a SQLite version.15s