Write a SQL query to find the daily active users who interacted with a marketing campaign but did not complete the registration funnel.
Use the campaign_interactions and registration_funnel tables. Treat a user as having completed the funnel when their funnel status is completed.
activity_date and daily_active_users.doximity_registration_campaign and have no completed funnel record.activity_date ascending.| Column | Type | Description |
|---|---|---|
| interaction_idPK | INT | Unique interaction identifier |
| user_id | INT | User who interacted with the campaign |
| campaign_id | VARCHAR(100) | Marketing campaign identifier |
| interacted_at | TIMESTAMP | Timestamp of the campaign interaction |
| interaction_type | VARCHAR(50) | Type of campaign interaction |
| Column | Type | Description |
|---|---|---|
| funnel_event_idPK | INT | Unique funnel event identifier |
| user_id | INT | User associated with the funnel event |
| funnel_status | VARCHAR(30) | Current registration funnel status |
| completed_at | TIMESTAMP | Timestamp when registration was completed |