Interview Guides
StreamWave wants to compare how different signup cohorts behave after registration. Write a SQL query to measure 30-day engagement by monthly signup cohort.
signup_date.session_start event within 30 days of signupusers| Column | Type | Description |
|---|---|---|
| user_id | INT | Unique user identifier |
| signup_date | DATE | Date the user registered |
| acquisition_channel | VARCHAR(50) | Marketing channel that acquired the user |
events| Column | Type | Description |
|---|---|---|
| event_id | INT | Unique event identifier |
| user_id | INT | User who generated the event |
| event_type | VARCHAR(50) | Event name |
| event_date | DATE | Date of the event |