The Roku analytics team wants a quick view of viewing activity on The Roku Channel during January 2025. Write a PostgreSQL query that filters viewing events to the requested date range and summarizes engagement by content category.
content_category with the number of viewing events, total minutes watched, and average minutes watched.roku_viewing_events as the source table.content_category, viewing_events, total_minutes, average_minutes.viewing_events, total_minutes, and average_minutes.SUM and AVG ignore NULL minutes_watched values.average_minutes without rounding, preserving PostgreSQL numeric precision.| Column | Type | Description |
|---|---|---|
| event_idPK | INTEGER | Unique viewing event identifier |
| content_category | VARCHAR(40) | Roku Channel content category |
| event_date | DATE | Date of the viewing event |
| minutes_watched | INTEGER | Minutes watched during the event |