Database: customers_and_invoices
Question: What are the ids for transactions that have an amount greater than the average amount of a transaction?
SQL:
SELECT transaction_id FROM Financial_transactions WHERE transaction_amount  >  (SELECT avg(transaction_amount) FROM Financial_transactions)