#1068

Orders by Status

The operations dashboard shows how many orders are in each status. Return status and cnt, one row per status, sorted by status.

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.

cntstatus
1cancelled
3paid
3pending

Your query result will appear here