Most active message senders in August 2022
Microsoft Teams is looking for its most active users — those who sent the most messages in August 2022. Find the top two users and return sender_id and message_count. Sort the result by message count in descending order.
Expected output sample
This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.
| sender_id | message_count |
|---|---|
| 3601 | 4 |
| 7852 | 3 |
Microsoft
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign inFocus radio
Paused · SomaFM · Fluid