Group each user's distinct login days into sessions where consecutive days belong together. Show user_id, session_start, session_end, days.
user_id
session_start
session_end
days
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.