Number each user's logins in date order (first login = 1). Return user_id, login_date and visit_no.
user_id
login_date
visit_no
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.