Keyrus France's Data Intelligence reporting needs a daily view of conversions from active campaigns. Write a PostgreSQL query for the period from 2024-06-01 through 2024-06-10.
conversion_status = 'converted' belonging to active campaigns.conversion_date, daily_conversions, and rolling_7_day_average, ordered chronologically. Round the average to two decimal places.| Column | Type | Description |
|---|---|---|
| campaign_idPK | INTEGER | Unique campaign identifier |
| campaign_name | VARCHAR(100) | Campaign display name |
| status | VARCHAR(20) | Campaign lifecycle status |
| Column | Type | Description |
|---|---|---|
| event_idPK | INTEGER | Unique conversion event identifier |
| campaign_id | INTEGER | Campaign associated with the event |
| converted_at | TIMESTAMP | Timestamp when the event occurred |
| conversion_status | VARCHAR(20) | Conversion processing outcome |