The reporting team needs order counts broken down by year. Write a query that extracts the year from order_date and counts the number of orders per year. Return the year and order_count, sorted by year.
Schema
🔑idINT
🔗customer_idINT
order_dateTEXT
statusTEXT
total_amountREAL
postgresql
Run your query to see results
Press Ctrl + Enter to execute