#1049

Incident: Stuck Paid Orders

Incident review, step 1: find orders with status = 'paid' that have no payment with status = 'success'. Return only their id values, sorted by 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.

id
12

Your query result will appear here