Loading interview...
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
Interview Prompt
The search quality team wants to compare search success rates between new and existing users. A successful search is one where a click occurred within 30 seconds of the query time. Segment users as 'new' (signup date within the last 30 days of the dataset) or 'existing'. Return one row per segment with total searches, successful searches, and success rate.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision