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 |