Skip to content

Commit 833b3b2

Browse files
authored
Create 1141-user-activity-for-the-past-30-days-i.sql
1 parent 014b3c1 commit 833b3b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Write your MySQL query statement below
2+
select activity_date as day, count(distinct user_id) as active_users
3+
from Activity
4+
where datediff('2019-07-27', activity_date) < 30
5+
group by activity_date;

0 commit comments

Comments
 (0)