Subscriptions to Close
Step 3: for each user, keep the earliest active subscription with status = 'active' and mark all later active subscriptions as extras to close. Return the id values of those extra subscriptions, sorted by id.
Vzorec pričakovanega izhoda
Tako izgleda pravilen odgovor — ima svoje število vrstic in se ni treba ujemati s tabelami sheme.
| id |
|---|
| 301 |
Prijavite se za ogled zgodovine oddaj
PrijavaPrijavite se za uporabo mentorja UI
Prijava