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

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your sql solution with real code execution
  4. Get instant feedback and a hire/no-hire decision