Holiday Promo Campaign Click Year
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Problem
The ad impressions table logs campaign-level clicks. Find the year in which the HOLIDAY_PROMO campaign had at least 1 total click. Roll up impressions by year for the HOLIDAY_PROMO campaign only. Return the qualifying fiscal year.
Summary
One year, the holiday campaign exploded.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.