#1070

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.

iduid
101
111
122

Il risultato della tua query apparirà qui