CREATE TABLE table_name_87 (total INT, a_score VARCHAR, b_score VARCHAR)

What was the total rating that had a score higher than 7 and a b score smaller than 8.65?
SELECT SUM(total) FROM table_name_87 WHERE a_score > 7 AND b_score < 8.65
SELECT SUM("total") FROM "table_name_87" WHERE "a_score" > 7 AND "b_score" < 8.65