<s>[INST] Write a SQL code to find the average version number accepted by users for terms and conditions.  [/INST] SELECT AVG(user_tc_accept_version) AS average_tc_accept_version FROM order_transaction.transaction_detail_deprecated; </s>