<s>[INST] Write a SQL code to find the average estimated delivery amount for all orders. [/INST] SELECT AVG(order_delivery_estimate_amt) AS average_delivery_estimate FROM order_transaction.transaction_detail_deprecated; </s>