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 |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in