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