Users With and Without Ad Clicks
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L4
Problem
Count users who received at least one ad click versus those who did not. A user counts as clicked if they have any clicked ad impression. Show each group (has click or not) and its user count.
Summary
Clicked an ad versus never clicked. The split.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.