Visited but Did Not Buy
Marketing wants to retarget users who have an event with kind = 'visit' but no event with kind = 'purchase'. Return those user_id values, sorted by user_id.
Expected output sample
This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.
| user_id |
|---|
| 2 |
| 4 |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in