Write an SQL query using window functions to compute a 7-day rolling average of orders per restaurant.
Use the provided restaurants and orders data for February 1 through February 7, 2025. Include calendar dates with no orders and round the rolling average to four decimal places.
restaurant_id, restaurant_name, order_date, daily_orders, and rolling_7_day_avg.| Column | Type | Description |
|---|---|---|
| restaurant_idPK | INT | Unique restaurant identifier |
| restaurant_name | VARCHAR(100) | Restaurant display name |
| Column | Type | Description |
|---|---|---|
| order_idPK | INT | Unique order identifier |
| restaurant_id | INT | Restaurant associated with the order |
| order_date | DATE | Date on which the order was placed |