CREATE TABLE table_name_45 (goals INT, caps VARCHAR, average VARCHAR)

What is the goal top with caps of 38 and an average less than 0.579?
SELECT MAX(goals) FROM table_name_45 WHERE caps = 38 AND average < 0.579
SELECT MAX("goals") FROM "table_name_45" WHERE "average" < 0.579 AND "caps" = 38