Quantos empates têm menos de 8 vitórias e 31 gols para?
CREATE TABLE table_name_25 (draws INTEGER, wins VARCHAR, goals_for VARCHAR)
SELECT SUM(draws) FROM table_name_25 WHERE wins < 8 AND goals_for = 31