CREATE TABLE table_name_8 (goals_for INT, goal_difference VARCHAR, losses VARCHAR, wins VARCHAR)

What was the highest goals with fewer than 16 losses, fewer than 11 wins, and a goal difference greater than -9?
SELECT MAX(goals_for) FROM table_name_8 WHERE losses < 16 AND wins < 11 AND goal_difference > -9
SELECT MAX("goals_for") FROM "table_name_8" WHERE "goal_difference" > -9 AND "losses" < 16 AND "wins" < 11