Loading...
Peak API Hour
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- mid
Problem
We need to identify the peak traffic hour of the day. First tally API calls per day and hour, then average across days. Which single hour has the highest average call volume? Return the hour and its average call count.
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.