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

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.

totalwith_user
76

Your query result will appear here