CREATE TABLE table_name_31 (points INTEGER, grade VARCHAR(255))
What is the total number of points when the grade was A?
    
SQL: SELECT SUM(points) FROM table_name_31 WHERE grade = "a"