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.
Esempio di output atteso
Ecco come appare una risposta corretta — il suo numero di righe è a sé stante, non deve corrispondere alle tabelle dello schema.
| id |
|---|
| 13 |
Accedi per vedere la cronologia degli invii
AccediAccedi per usare l'AI Mentor
Accedi