Your question is Month-Over-Month Engagement Growth. Start with the requirements and the two tables on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Netflix Analytics Engineering needs a regional view of monthly content engagement across the Netflix catalog. Write a PostgreSQL query that calculates total watch minutes and month-over-month growth for each region.
netflix_titles so only events for known titles are included.NULL growth when no prior month exists or the prior value is zero.| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique viewing event identifier |
| title_id | INT | Referenced Netflix title identifier |
| region | VARCHAR(20) | Viewer region |
| viewed_at | TIMESTAMP | Timestamp when content was watched |
| watch_minutes | INT | Minutes watched during the event |
| Column | Type | Description |
|---|---|---|
| title_idPK | INT | Unique Netflix title identifier |
| title_name | VARCHAR(150) | Netflix movie or series name |
| content_type | VARCHAR(20) | Content classification |