CREATE TABLE table_name_74 (wins INT, goal_difference VARCHAR, goals_against VARCHAR, points VARCHAR)

What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13?
SELECT MAX(wins) FROM table_name_74 WHERE goals_against < 51 AND points > 39 AND goal_difference < 13
SELECT MAX("wins") FROM "table_name_74" WHERE "goal_difference" < 13 AND "goals_against" < 51 AND "points" > 39