The are two tables:
visits
date user_id 01.02.2020 1 02.02.2020 1 03.02.2020 1 04.02.2020 1 01.02.2020 2 04.02.2020 2