Between the Spaces
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
Every pause between words is a vote for length. Count them.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.