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
|1141|[User Activity for the Past 30 Days I](https://leetcode.com/problems/user-activity-for-the-past-30-days-i/)|[Solution](../master/database/_1141.sql)|| Easy |
--There is no primary key for this table, it may have duplicate rows.
14
+
--The activity_type column is an ENUM of type ('open_session', 'end_session', 'scroll_down', 'send_message').
15
+
--The table shows the user activities for a social media website.
16
+
--Note that each session belongs to exactly one user.
17
+
--
18
+
--
19
+
--Write an SQL query to find the daily active user count for a period of 30 days ending 2019-07-27 inclusively. A user was active on some day if he/she made at least one activity on that day.
20
+
--
21
+
--The query result format is in the following example:
0 commit comments