Guest Orders as 0
The operations report for orders must show the order number and user identifier. If a guest order has no user_id, the report should show 0. Return id and uid, one row per order, sorted by id.
Uzorak očekivanog izlaza
Ovako izgleda ispravan odgovor — broj redaka je njegov vlastiti, ne mora se podudarati s tablicama sheme.
| id | uid |
|---|---|
| 10 | 1 |
| 11 | 1 |
| 12 | 2 |
Prijavi se da vidiš povijest predaja
PrijavaPrijavi se da koristiš AI mentora
Prijava