<s>[INST] Write a SQL code to count the number of orders placed on each unique date.  [/INST] SELECT order_date, COUNT(*) AS total_orders FROM order_transaction.transaction_detail_deprecated GROUP BY order_date; </s>