Instruct: What has the lowest number of wins with GA smaller than 39, more than 2 losses, and ties greater than 0?
Output: SELECT MIN Wins FROM table WHERE Goals Against < 39 AND Losses > 2 AND Ties > 0