Loading...

Click Revenue

A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
easy

Problem

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.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.