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 |
Log in om je inzendingsgeschiedenis te zien
InloggenLog in om de AI-mentor te gebruiken
Inloggen