Loading interview...
Campaign Conversion Window
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
- senior, staff
Interview Prompt
Our ad platform logs impressions, clicks, and purchases. For each campaign, compute the click-through rate and the conversion rate as percentages rounded to 2 decimal places. A conversion means a user who clicked an ad and then made a purchase within 7 days. Only include campaigns with at least 3 impressions.
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