Your question is Rolling Retention and Drop-Off. Start with the requirements and the two tables on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Intuit wants to evaluate user retention and identify where customers drop out of a product funnel. Write a PostgreSQL query using the users and product_events tables.
signup_date.connect_account, create_budget, and view_insights within 30 days.| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique user identifier |
| signup_date | DATE | Date the user signed up |
| acquisition_channel | VARCHAR(30) | Marketing channel associated with signup |
| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique product event identifier |
| user_id | INT | User associated with the event |
| event_name | VARCHAR(50) | Name of the product event |
| occurred_at | TIMESTAMP | Timestamp when the event occurred |