#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.

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

Rezultatul interogării tale va apărea aici