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

Kampjun tal-output mistenni

Dan hu kif tidher tweġiba korretta — l-għadd tar-ringieli huwa tiegħu stess, m'għandux għalfejn jaqbel mat-tabelli tal-iskema.

id
13

Ir-riżultat tal-query tiegħek jidher hawn