user: Question: What has the lowest number of wins with GA smaller than 39, more than 2 losses, and ties greater than 0?
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, 6.0, 2.0, 0.0, 35.0, 20.0]
SQL:

assistant: SELECT MIN("Wins") FROM "Table" WHERE "Goals Against" < 39.0 AND "Losses" > 2.0 AND "Ties" > 0.0;