Given a specific schema, how would you calculate rolling averages for daily active users at Roblox?
Using the supplied schema, calculate the three-calendar-day rolling average of daily active users from January 1 through January 7, 2025. Treat users with no activity as zero for that date.
activity_date, daily_active_users, and rolling_3_day_averageactivity_date ascending, and round the rolling average to two decimal places.| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique Roblox user identifier |
| username | VARCHAR(100) | Roblox username |
| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique activity event identifier |
| user_id | INT | User associated with the activity event |
| occurred_at | TIMESTAMP | Timestamp when the activity occurred |
| event_type | VARCHAR(50) | Type of Roblox activity |