CREATE TABLE table_name_31 (points INT, grade VARCHAR)

What is the total number of points when the grade was A?
SELECT SUM(points) FROM table_name_31 WHERE grade = "a"
SELECT SUM("points") FROM "table_name_31" WHERE "a" = "grade"