A logins table records at most one row per user per day:
logins (
user_id INTEGER,
login_date TEXT -- 'YYYY-MM-DD', unique per user
)
For each user, find the length (in days) of their LONGEST streak of
consecutive calendar days with a login.
Return columns: user_id, longest_streak.
Order by user_id ASC.