Snowflake Marketing Analytics wants to monitor marketing-qualified lead performance across campaign channels. Write a PostgreSQL query that reports monthly MQL volume and month-over-month growth for active Snowflake campaigns from January through March 2025.
MQL and whose campaign is active.NULL when the previous count is zero or unavailable.YYYY-MM, the channel, MQL count, and growth percentage rounded to two decimals. Sort by channel and month.| Column | Type | Description |
|---|---|---|
| campaign_idPK | INT | Unique campaign identifier |
| campaign_name | VARCHAR(100) | Snowflake campaign name |
| channel | VARCHAR(50) | Marketing acquisition channel |
| is_active | BOOLEAN | Whether the campaign is active |
| Column | Type | Description |
|---|---|---|
| lead_idPK | INT | Unique lead identifier |
| campaign_id | INT | Campaign associated with the lead |
| lead_created_at | DATE | Date the lead was created |
| lead_status | VARCHAR(30) | Lead lifecycle status |