DataDriven
LearnPracticeInterviewDiscussDailyJobs

Upvote Percentage by Age Cohort

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
L5

Interview Prompt

The search team is comparing search success between brand-new and tenured users. A user counts as 'new' if their signup is within 30 days of the most recent signup on file; everyone else is 'existing'. A search counts as successful when the user clicked through to a result. For each segment, show the segment label, total searches, successful searches, and the success rate as a decimal. Sort alphabetically by segment.

Summary

New users versus existing. The upvote gap.

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