DataDrivenDataDriven
LearnPracticeInterviewDailyJobsCommunity

The Ones Who Return

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
mid

Interview Prompt

Our member growth team wants one number for the quarterly retention review: how top-heavy the buying is, meaning the share of members who shop more often than the average customer. Counting every purchase as one order, give that share as a percentage of the whole member base.

Summary

One purchase is a trial. Two is a habit. Find how many members formed one.

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

Related

  • All Mock Interviews
  • Practice Mode (untimed)
  • SQL Interview Questions
  • Data Engineering Interview Prep Guide
  • Practice Problems
  • Daily Challenge