What is the total amount of all payments?
CREATE TABLE payment (amount INTEGER)
SELECT SUM(amount) FROM payment
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE payment (amount INTEGER) Question: What is the total amount of all payments? [/INST] SELECT SUM(amount) FROM payment </s>