You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Write your MySQL query statement belowselect activity_date day, count(distinct user_id) active_users from Activity
where activity_date between date_sub('2019-07-27',interval 29 day) and'2019-07-27'group by activity_date
datediff
# Write your MySQL query statement belowselect activity_date day, count(distinct user_id) active_users from Activity
where datediff('2019-07-27', activity_date)<30and activity_date<='2019-07-27'group by activity_date
><=
# Write your MySQL query statement belowselect activity_date day, count(distinct user_id) active_users from Activity
where activity_date >'2019-06-27'and activity_date <='2019-07-27'group by activity_date