#1061

Orders With a User

The product team is checking the share of guest orders. Return one row: total for all orders, and with_user for orders where user_id is present.

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.

totalwith_user
76

Il risultato della tua query apparirà qui