What is the sum of the number of wins for teams with more than 0 draws?
CREATE TABLE table_name_51 (wins INTEGER, draws INTEGER)
SELECT SUM(wins) FROM table_name_51 WHERE draws > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (wins INTEGER, draws INTEGER) Question: What is the sum of the number of wins for teams with more than 0 draws? [/INST] SELECT SUM(wins) FROM table_name_51 WHERE draws > 0 </s>