#971

Successful Payment, Pending Order

If an order has a payment with status = 'success', the order should not still be in status = 'pending'. Find those orders, return each id once, and sort by id.

Voorbeeld van verwachte uitvoer

Zo ziet een correct antwoord eruit — het aantal rijen is op zichzelf staand en hoeft niet overeen te komen met de schematabellen.

id
13

Je queryresultaat verschijnt hier