<s>[INST] Write a SQL code to determine the total discount amount provided to riders.  [/INST] SELECT SUM(rider_discount) AS total_discount_amount_to_riders FROM order_transaction.transaction_detail_deprecated; </s>