Amazon DSP wants to identify advertisers whose purchasing activity shows consistent month-over-month engagement. Write a PostgreSQL query to find customers with purchases in at least one pair of consecutive calendar months.
| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique customer identifier |
| customer_name | VARCHAR(100) | Customer or advertiser name |
| region | VARCHAR(30) | Customer's marketplace region |
| Column | Type | Description |
|---|---|---|
| purchase_idPK | INT | Unique purchase identifier |
| customer_id | INT | Customer who made the purchase |
| purchase_date | DATE | Date of the Amazon DSP purchase |
| amount | NUMERIC(10,2) | Purchase amount in USD |