Skip to main content
All Problems
medium0% acceptance

Monthly Order Count

The operations team needs a monthly order trend report. Count the number of orders placed each month. Return the month (as YYYY-MM) and the order count, sorted chronologically.

Schema

🔑idINT
🔗customer_idINT
order_dateTEXT
statusTEXT
total_amountREAL
postgresql

Run your query to see results

Press Ctrl + Enter to execute