Create daily_logins with every date from the first to the last login date as day, and logins (0 on days with none).
daily_logins
day
logins
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.