CREATE TABLE table_name_25 (draws NUMBER, wins VARCHAR2, goals_for VARCHAR2)

How many draws have less than 8 wins, and 31 goals for?
SELECT SUM(draws) FROM table_name_25 WHERE wins < 8 AND goals_for = 31
SELECT SUM("draws") FROM "table_name_25" WHERE "goals_for" = 31 AND "wins" < 8