Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What has the lowest number of wins with GA smaller than 39, more than 2 losses, and ties greater than 0?

### Inputs:
table_name: table, columns: ['Team', 'Games Played', 'Wins', 'Losses', 'Ties', 'Goals For', 'Goals Against']

### Response:
SELECT MIN Wins FROM table WHERE Goals Against < 39 AND Losses > 2 AND Ties > 0