Tinder's Data Science team wants to measure average user engagement during the most recently completed calendar month. Write a PostgreSQL query that calculates the average number of swipes per Tinder user during that month.
average_swipes_per_user.| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique Tinder user identifier |
| display_name | VARCHAR(100) | User's display name |
| Column | Type | Description |
|---|---|---|
| swipe_idPK | INT | Unique swipe event identifier |
| user_id | INT | User who performed the swipe |
| target_user_id | INT | User profile that was swiped on |
| swipe_direction | VARCHAR(10) | Swipe action, such as like or pass |
| swiped_at | TIMESTAMP | Timestamp when the swipe occurred |