hardStudy question · answer published in SQL interview questions, so no pointswindow-functionssqlgaps-and-islands
Users with a 3-day streak
After building islands with date - ROW_NUMBER() (one row per user per day), how do you find users who were active at least 3 days in a row?
Discussion 0
Join free to post in the discussion.