Loading interview...

Campaign Engagement Rank Shift

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

Interview Prompt

A stakeholder flagged that some campaigns lost momentum between June 2025 and October 2025. Rank each campaign by the number of impressions where clicked is 1 in each of those two months, then surface just the campaign names whose ranking position worsened (higher rank number) from June to October.

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