CREATE TABLE table_name_66 (goals_for NUMBER, goals_against VARCHAR2, played VARCHAR2)

What is the highest amount of goals with more than 51 goals against and less than 30 played?
SELECT MAX(goals_for) FROM table_name_66 WHERE goals_against > 51 AND played < 30
SELECT MAX("goals_for") FROM "table_name_66" WHERE "goals_against" > 51 AND "played" < 30