Write a query to calculate the daily retention rate of users who watched a specific genre of content.
For this exercise, use Drama as the specific genre and define retention as watching any content on the following calendar day. Include every day with at least one qualifying genre viewer.
watched_date, cohort_users, retained_users, and daily_retention_rate.watched_date ascending.| Column | Type | Description |
|---|---|---|
| content_idPK | INT | Unique content identifier |
| title | VARCHAR(150) | Content title |
| genre | VARCHAR(50) | Primary content genre |
| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique viewing event identifier |
| user_id | VARCHAR(40) | Viewer identifier |
| content_id | INT | Viewed content identifier |
| watched_at | TIMESTAMP | Timestamp when viewing occurred |