The Weight of Words
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant feedback.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Problem
A chat analytics team is profiling how wordy each message is, treating every space in the content as a divider between words. Return each message's ID alongside its word count.
Summary
Some messages say more than others. Measure how much.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.