#1066

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.

Várt kimeneti minta

Így néz ki egy helyes válasz — a sorszáma a sajátja, nem kell egyeznie a sématáblákkal.

user_id
1
2
3

A lekérdezésed eredménye itt jelenik meg