You have a table of customer orders. Write a query to identify customers who have made a purchase in three consecutive months.
Treat multiple orders within the same calendar month as one purchase month. Ignore orders with a missing customer or order date.
customer_id.customer_id ascending.| Column | Type | Description |
|---|---|---|
| order_idPK | INT | Unique order identifier |
| customer_id | INT | Customer who placed the order |
| order_date | DATE | Date when the order was placed |
| order_amount | DECIMAL(10,2) | Total order amount |