For each user, find the longest run of consecutive login days. Count a day once even if logged twice. Columns: user_id, longest_streak.
user_id
longest_streak
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.