Loading interview...
Heavy Ad Exposure
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
- senior
Interview Prompt
Given an ad_impressions table with user_id and campaign_id, write a query to find heavily exposed users. A user qualifies if they have 50+ impressions from any single campaign, OR 100+ total impressions across at least 3 different campaigns. Return the qualifying user IDs.
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