I'm trying to write a SQL query, which says how many logins each user made in their first week.
Assume, for the purpose of this question, that I have a table with at least user_id
and login_date
. I'm trying to produce an output table with user_id
and num_logins_first_week