Loading...
Chat Activity
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
Problem
The community team is evaluating channel health and wants to know which chat channels are active and which are dead weight. For each channel, show the total number of messages, the number of unique senders, and the percentage of messages that have been edited. Round the edited percentage to one decimal place. Only include channels with at least five messages, sorted from most to fewest.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.