#1067

Guests at the End

Operators need a list of all orders: orders with higher user_id first, while guest orders without user_id must appear at the very end. For the same user_id, sort by ascending id. Return id and user_id.

Laukiamo rezultato pavyzdys

Taip atrodo teisingas atsakymas — jo eilučių skaičius yra savitas, jis neprivalo sutapti su schemos lentelėmis.

iduser_id
144
133
122

Jūsų užklausos rezultatas bus rodomas čia