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

  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