How many draws have less than 8 wins, and 31 goals for?
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
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (draws INTEGER, wins VARCHAR, goals_for VARCHAR) Question: How many draws have less than 8 wins, and 31 goals for? [/INST] SELECT SUM(draws) FROM table_name_25 WHERE wins < 8 AND goals_for = 31 </s>