SELECT YEAR(order_date) AS order_year, MONTH(order_date) AS order_month, COUNT(*) AS total_orders FROM orders GROUP BY order_year, order_month ORDER BY order_year, order_month;