First Arrivals

A medium SQL mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.

Domain
SQL
Difficulty
medium
Seniority
L5

Interview Prompt

We're tracking customer acquisition. For each calendar date, how many customers placed their very first order that day, where a customer's first-order date is the earliest order they have in the table?

Summary

Every customer has a first day. Find when the crowds showed up.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write and run your SQL against a real database
  4. Answer the interviewer's follow-up questions, then get a hire or no-hire decision