What is the transaction type that has processed the greatest total amount in transactions?
CREATE TABLE Financial_transactions (transaction_type VARCHAR, transaction_amount INTEGER)
SELECT TOP 1 transaction_type FROM Financial_transactions GROUP BY transaction_type ORDER BY SUM(transaction_amount) DESC
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Financial_transactions (transaction_type VARCHAR, transaction_amount INTEGER) Question: What is the transaction type that has processed the greatest total amount in transactions? [/INST] SELECT TOP 1 transaction_type FROM Financial_transactions GROUP BY transaction_type ORDER BY SUM(transaction_amount) DESC </s>