<s>[INST] Write a SQL code to calculate the average time taken by riders to accept job assignments.  [/INST] SELECT AVG(rider_jobacceptedtime) AS average_time_to_accept_job FROM order_transaction.transaction_detail_deprecated; </s>