GoFundMe’s Marketing Analytics team wants to monitor the monthly creation of new donation campaigns. Write a PostgreSQL query that calculates month-over-month growth across the full campaign date range.
created_at.status = 'deleted' and campaigns attributed to the test source type. Treat campaigns without a source record as organic.NULL for growth when there is no prior month or the prior count is zero.| Column | Type | Description |
|---|---|---|
| campaign_idPK | INTEGER | Unique GoFundMe campaign identifier |
| title | VARCHAR(150) | Campaign title |
| created_at | TIMESTAMP | Timestamp when the campaign was created |
| status | VARCHAR(20) | Campaign lifecycle status |
| Column | Type | Description |
|---|---|---|
| source_idPK | INTEGER | Unique source attribution record |
| campaign_id | INTEGER | Referenced GoFundMe campaign |
| source_type | VARCHAR(30) | Campaign acquisition source |