Write a SQL query to find the daily active users who performed a specific action at least three times within their first week of signing up.
Use users and events. Treat action_name = 'collection_run' as the specific action. The first week includes events from signup time through, but not including, seven days after signup.
user_id, activity_dateactivity_date, then user_id| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique user identifier |
| signup_at | TIMESTAMP | Timestamp when the user signed up |
| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique event identifier |
| user_id | INT | User associated with the event |
| action_name | VARCHAR(100) | Name of the action performed |
| event_at | TIMESTAMP | Timestamp when the event occurred |