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.
Eksempel på forventet output
Sådan ser et korrekt svar ud — dets rækketal er dets eget og behøver ikke at matche skematabellerne.
| id |
|---|
| 301 |
Log ind for at se indsendelseshistorik
Log indLog ind for at bruge AI-mentor
Log ind