We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 014b3c1 commit 833b3b2Copy full SHA for 833b3b2
1141-user-activity-for-the-past-30-days-i.sql
@@ -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