CREATE TABLE table_name_74 (wins NUMBER, goal_difference VARCHAR2, goals_against VARCHAR2, points VARCHAR2)

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