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.
Esempio di output atteso
Ecco come appare una risposta corretta — il suo numero di righe è a sé stante, non deve corrispondere alle tabelle dello schema.
| id | uid |
|---|---|
| 10 | 1 |
| 11 | 1 |
| 12 | 2 |
Accedi per vedere la cronologia degli invii
AccediAccedi per usare l'AI Mentor
Accedi