Show the average transaction amount for different transaction types.
select transaction_type_code, avg(amount_of_transaction) from transactions group by transaction_type_code