Loading...
Push Notification Open Rate
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- mid
Problem
For each date a push notification was sent, calculate the open rate: notifications with opened = true divided by total notifications sent that day. Only include send dates where at least one notification was eventually opened, regardless of when the open occurred.
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.