Database: customers_and_invoices
Question: Show ids for all transactions whose amounts are greater than the average.
SQL:
SELECT transaction_id FROM Financial_transactions WHERE transaction_amount  >  (SELECT avg(transaction_amount) FROM Financial_transactions)