Click Revenue
A easy SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Interview Prompt
The ad operations team is evaluating campaign ROI for the monthly review. For each ad campaign, calculate the total revenue generated exclusively from impressions that resulted in a click. Only include campaigns that brought in more than five dollars in click revenue, and rank them from highest total to lowest.
Summary
Which campaigns are earning their keep?
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision