Tell me about how you would predict churn for Robinhood users.
Use the provided users and user_activity tables to produce a reproducible SQL-based churn-risk output as of March 31, 2025. Consider users created by the cutoff who have at least one recorded activity, and classify users based on days since their latest activity.
user_id, email, last_activity_date, days_since_last_activity, total_activities, trade_count, and churn_riskuser_id ascending| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique Robinhood user identifier |
| VARCHAR(255) | User email address | |
| created_at | DATE | Date the user account was created |
| Column | Type | Description |
|---|---|---|
| activity_idPK | INT | Unique activity identifier |
| user_id | INT | User associated with the activity |
| activity_date | DATE | Date the activity occurred |
| activity_type | VARCHAR(30) | Activity category, such as login or trade |