#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.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

iduid
101
111
122

Your query result will appear here