Loading interview...
Successful Call Volume per Endpoint
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
- Seniority
- senior
Interview Prompt
Given an api_calls table with call_id, user_id, endpoint, status, and call_time, first deduplicate rows where user_id, endpoint, and call_time all match by keeping the lowest call_id. Then count the total successful calls (status = 200) per endpoint. Order from most to fewest.
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