CDN Traffic by Day and Hour
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
The infra team needs to plan CDN capacity by time of day. Calculate average net bytes per request (gross bytes minus 5% overhead) broken down by day of the week (as text, e.g. 'Monday') and hour. Round to 2 decimal places. Return the weekday name, hour, and average net bytes.
Summary
CDN traffic, hour by hour.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.