Messages Sent per User
Messages Sent per User
A messaging platform is summarizing senders. For each sender_id, count the messages sent (msg_count). Sort by message count descending.
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. Your answer must use the same column names as this sample — alias them with AS if needed.
| sender_id | msg_count |
|---|---|
| 1 | 3 |
| 4 | 2 |
| 2 | 2 |
VK
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign inFocus radio
Paused · SomaFM · Fluid