I have this user_activity table
user_id date 1 2020-01-01 08:00:00 2 2020-01-01 08:05:00 1 2020-01-02 08:00:00
and user