Loading...

Event Count on Key Days

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 infrastructure team is sizing weekend versus weekday capacity and wants to start with a simple comparison. Show the total number of events that occurred on Saturdays versus Mondays, with the day number and event count for each.

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.