#182

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.

msg_countsender_id
31
24
22
VK

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid