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.
Exemplu de ieșire așteptată
Așa arată un răspuns corect — numărul său de rânduri îi este propriu, nu trebuie să se potrivească cu tabelele din schemă.
| id |
|---|
| 13 |
Conectează-te pentru a vedea istoricul soluțiilor trimise
Conectează-teConectează-te pentru a folosi Mentorul AI
Conectează-te