Loading interview...
Smooth Latency
A medium SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- medium
Interview Prompt
The SRE team wants to spot latency trends per endpoint over time. For every row in api_calls with a non-NULL latency, compute a running average of latency within that endpoint ordered by call_time, covering every call at or before this one. Return the endpoint, latency, and running average.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision