<s>[INST] Write a SQL code to find the total number of orders placed in each year week (year and week combination).  [/INST] SELECT order_yearweek, COUNT(*) AS total_orders FROM order_transaction.transaction_detail_deprecated GROUP BY order_yearweek; </s>