Write a query to find the top 10% of users who generate the most meeting transcripts per week.
Use all available transcript records and exclude transcripts that cannot be associated with a user. Return one deterministic set of top users for each calendar week.
week_start, user_id, user_name, transcript_count, and weekly_rank.week_start, then weekly_rank, then user_id.| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique Otter.ai user identifier |
| user_name | VARCHAR(100) | Display name of the user |
| VARCHAR(255) | User email address |
| Column | Type | Description |
|---|---|---|
| transcript_idPK | INT | Unique meeting transcript identifier |
| user_id | INT | User who generated the transcript |
| transcript_title | VARCHAR(200) | Title of the meeting transcript |
| created_at | TIMESTAMP | Timestamp when the transcript was generated |