Skip to content
RED SAG Skills
medium10 pts · first answer countswindow-functionssqlgaps-and-islands

Grouping consecutive dates

Login dates for one user are 1, 2, 3, 7, 8 March (one row per date). You compute login_date - ROW_NUMBER() days. How many distinct values result?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions