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

Uzorak očekivanog izlaza

Ovako izgleda ispravan odgovor — broj redaka je njegov vlastiti, ne mora se podudarati s tablicama sheme.

id
13

Ovdje će se pojaviti rezultat tvog upita