#1145

Repeat purchasers

Find users who made two or more purchases (kind = purchase). Return user_id ascending.

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