CREATE TABLE table_name_3 (played INT, lost VARCHAR, position VARCHAR, against VARCHAR)

What is the average games Played with positions higher than 3 that have goals Against less than 27 and a Lost games smaller than 6?
SELECT AVG(played) FROM table_name_3 WHERE position > 3 AND against < 27 AND lost < 6
SELECT AVG("played") FROM "table_name_3" WHERE "against" < 27 AND "lost" < 6 AND "position" > 3