Buyers Without Repeats
CRM needs a list of users who have at least one order. Do not repeat the same buyer, and guest orders without user_id should produce one separate row. Return user_id in ascending order, placing the empty value last.
Vzorec pričakovanega izhoda
Tako izgleda pravilen odgovor — ima svoje število vrstic in se ni treba ujemati s tabelami sheme.
| user_id |
|---|
| 1 |
| 2 |
| 3 |
Prijavite se za ogled zgodovine oddaj
PrijavaPrijavite se za uporabo mentorja UI
Prijava