Question: What is the average of all transactions with the transaction type code "SALE"?
SQL: SELECT avg ( amount_of_transaction )  FROM TRANSACTIONS WHERE transaction_type_code  =  "SALE"