Show the average amount of transactions for different investors.
CREATE TABLE TRANSACTIONS (investor_id VARCHAR, amount_of_transaction INTEGER)
SELECT investor_id, AVG(amount_of_transaction) FROM TRANSACTIONS GROUP BY investor_id
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE TRANSACTIONS (investor_id VARCHAR, amount_of_transaction INTEGER) Question: Show the average amount of transactions for different investors. [/INST] SELECT investor_id, AVG(amount_of_transaction) FROM TRANSACTIONS GROUP BY investor_id </s>