user: Question: For teams with more than 0 ties and goals against of 37, how many wins were tallied?
Columns: ['Team', 'Games Played', 'Wins', 'Losses', 'Ties', 'Goals For', 'Goals Against']
Types: ['text', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: ['Montreal Victorias', 8.0, 7.0, 1.0, 0.0, 48.0, 26.0]
SQL:

assistant: SELECT SUM("Wins") FROM "Table" WHERE "Goals Against" = 37.0 AND "Ties" > 0.0;