Write a SQL query to calculate the rolling average of delivery times over the last 30 days for Delivery Hero India.
Use completed deliveries with a non-null delivery duration. Treat the reporting date as the database's current date.
delivery_date, daily_average_minutes, and rolling_average_minutes.delivery_date.| Column | Type | Description |
|---|---|---|
| delivery_idPK | INT | Unique delivery identifier |
| delivered_at | TIMESTAMP | Timestamp when the order was delivered |
| delivery_minutes | INT | Elapsed delivery time in minutes |
| status | VARCHAR(20) | Current delivery status |