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.
Sagaidāmais izvades paraugs
Tā izskatās pareiza atbilde — tās rindu skaits ir pašai savs, tam nav jāatbilst shēmas tabulām.
| id |
|---|
| 13 |
Pieslēdzies, lai redzētu iesniegumu vēsturi
PieslēgtiesPieslēdzies, lai izmantotu AI mentoru
Pieslēgties