Show ids for all transactions whose amounts are greater than the average.
CREATE TABLE Financial_transactions (transaction_id VARCHAR, transaction_amount INTEGER)
SELECT transaction_id FROM Financial_transactions WHERE transaction_amount > (SELECT AVG(transaction_amount) FROM Financial_transactions)
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Financial_transactions (transaction_id VARCHAR, transaction_amount INTEGER) Question: Show ids for all transactions whose amounts are greater than the average. [/INST] SELECT transaction_id FROM Financial_transactions WHERE transaction_amount > (SELECT AVG(transaction_amount) FROM Financial_transactions) </s>