What is the sum of the stand with a qual more than 589?
CREATE TABLE table_name_31 (stand INTEGER, qual INTEGER)
SELECT SUM(stand) FROM table_name_31 WHERE qual > 589
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (stand INTEGER, qual INTEGER) Question: What is the sum of the stand with a qual more than 589? [/INST] SELECT SUM(stand) FROM table_name_31 WHERE qual > 589 </s>