AiTeky Original Lesson 4 of 6 Learn 30 min ✓ Reviewed by Expert
Calendars, gaps and streaks with recursive queries
Build a list of every date with a recursive query, find days with no activity that a plain GROUP BY hides, and find the longest streak of consecutive days with the gaps-and-islands trick.
Sign up free to open every AiTeky Original lesson
It takes a minute with your email. AiTeky Pass (₹999/month or ₹9,999/year) is free for your first 30 days.

