Weekend Warriors
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Problem
A mobile fitness app suspects its members behave differently on weekends than on weekdays. For each event type, split the total event count into a weekend bucket and a weekday bucket, with the most weekend-heavy types first.
Summary
Weekdays vs. weekends. When does the action really happen?
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.