user: Question: What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13?
Columns: ['Position', 'Club', 'Played', 'Points', 'Wins', 'Draws', 'Losses', 'Goals for', 'Goals against', 'Goal Difference']
Types: ['real', 'text', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'Pontevedra CF', 30.0, 41.0, 16.0, 9.0, 5.0, 44.0, 31.0, 13.0]
SQL:

assistant: SELECT MAX("Wins") FROM "Table" WHERE "Goals against" < 51.0 AND "Points" > 39.0 AND "Goal Difference" < 13.0;