I have a database with information of when users have logged into my app. There are two columns -
- User ID
- Log in date (YYYY/MM/DD)
Each user can have multiple logins in one day.
I want to find the number of unique day logins for each user. For example, if a user logs in five times on 10th October, 2022 and he logs in ten times on 11th October, 2022, and 0 times every other day, then I want the value of '2' next to his id, because he logged in a total of two unique days.
Please note that I need to this using only one file (no intermediate saved files) and I cannot use a CET either.
Thanks!