#1090

Repeat Buyers

CRM identifies users who have at least 2 events with kind = 'purchase'. Return their 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
1

Your query result will appear here