#1092

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

Your query result will appear here