Asana Spa wants to identify its most engaged users across regional teams. Write a PostgreSQL query that finds the top three users in each region based on activity during the fixed 30-day reporting window ending on 2026-08-30.
region, user_id, user_name, activity_count, and regional_rank.event_type still count as activity because activity is counted by event row.users.region, then regional_rank.| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique user identifier |
| user_name | VARCHAR(100) | User's display name |
| region | VARCHAR(50) | User's regional team |
| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique activity event identifier |
| user_id | INT | User associated with the event |
| event_timestamp | TIMESTAMP | Time when the activity occurred |
| event_type | VARCHAR(50) | Type of Asana activity |