Using the same User / Meeting / Activity tables, write a SQL query to compute the average number of meetings attended per day across all users in the past one month.
Asked in the phone screen stage. Problem #1b.
Date, Average Number of Meetings.Date ascending.| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique Zoom user identifier |
| VARCHAR(255) | User email address |
| Column | Type | Description |
|---|---|---|
| meeting_idPK | INT | Unique meeting identifier |
| organizer_id | INT | User who organized the meeting |
| meeting_title | VARCHAR(255) | Meeting title |
| started_at | TIMESTAMP | Meeting start timestamp |
| Column | Type | Description |
|---|---|---|
| activity_idPK | INT | Unique activity identifier |
| meeting_id | INT | Referenced meeting |
| user_id | INT | User who generated the activity |
| activity_type | VARCHAR(50) | Activity status such as attended, joined, or declined |