Task: Text to Code
Input (English): Return the average transaction amount, as well as the total amount of all transactions.
Output (English): SELECT avg(transaction_amount) ,  sum(transaction_amount) FROM Financial_transactions