Amazon DSP analysts need to compare advertising performance across audience segments. Using users and impression-level events, write a PostgreSQL query that calculates the user conversion rate during June 2025.
Unclassified.clicked = TRUE counts as a conversion.0.0000 when no users were exposed.| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique user identifier |
| user_segment | VARCHAR(30) | Amazon DSP audience segment |
| Column | Type | Description |
|---|---|---|
| impression_idPK | INT | Unique impression identifier |
| user_id | INT | User who received the impression |
| campaign_name | VARCHAR(100) | Amazon DSP campaign name |
| impression_date | DATE | Date when the impression occurred |
| clicked | BOOLEAN | Whether the impression produced a click |