Loading interview...

Average Event Progression Time

A hard SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.

Domain
SQL
Difficulty
hard
Seniority
mid, senior

Interview Prompt

The onboarding team believes users who move quickly between events are more likely to convert, but they have no data to prove it. For every user with more than one event, compute the average number of seconds between consecutive events so the team can segment fast movers from slow ones. Return each qualifying user and their average gap, ordered by user ID.

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