What is the total number of points when the grade was A?
CREATE TABLE table_name_31 (points INTEGER, grade VARCHAR)
SELECT SUM(points) FROM table_name_31 WHERE grade = "a"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (points INTEGER, grade VARCHAR) Question: What is the total number of points when the grade was A? [/INST] SELECT SUM(points) FROM table_name_31 WHERE grade = "a" </s>