Two Names, One Campaign
A medium 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
- medium
- Seniority
- L4
Interview Prompt
Our ad team labels campaigns in loud uppercase like FLASH_SALE_48H while the push-notification team writes lowercase slugs like flash_sale, and the two naming systems were never reconciled. Some campaigns are the same effort under a different name because they share a theme word, 'flash', 'loyalty' or 'summer'; pair each ad campaign with the push campaign it matches on one of those words.
Summary
The ad team and the push team never agreed on naming. Find where they secretly meant the same thing.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write and run your SQL against a real database
- Answer the interviewer's follow-up questions, then get a hire or no-hire decision