For each login (distinct user and date), return user_id, login_date and gap_days since that user's previous login.
user_id
login_date
gap_days
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.