Initio Capital wants to measure how consistently users return to its product after signup. Write a PostgreSQL query that calculates monthly retention cohorts for users who signed up during the three calendar months from January through March 2025.
| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique user identifier |
| VARCHAR(255) | User email address | |
| signed_up_at | TIMESTAMP | Timestamp when the user signed up |
| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique event identifier |
| user_id | INT | User associated with the event |
| occurred_at | TIMESTAMP | Timestamp when the event occurred |
| event_type | VARCHAR(50) | Type of product activity |