Impressions by Search Keyword

A hard SQL mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.

Domain
SQL
Difficulty
hard
Seniority
L3

Interview Prompt

Ad sales keeps a leaderboard of campaigns by how much of their delivery reached people who use search, working from `ad_impressions` and `search_queries`. Show each campaign with its impression count, leaving out the time-boxed sale campaigns.

Summary

Campaign performance, keyword by keyword.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write and run your SQL against a real database
  4. Answer the interviewer's follow-up questions, then get a hire or no-hire decision