Loading...
Events by Month Across Years
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- junior
Problem
The product analytics team suspects traffic is seasonal and wants to see the pattern across all available years. Show total event counts for each calendar month (1 through 12), combining all years into a single row per month.
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.