#1060

Users Without Paid Orders

CRM is preparing a reactivation campaign and needs users who have no orders with status = 'paid', including users who never ordered at all. Return their id values in ascending order.

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.

id
3
4
5

Your query result will appear here