CREATE TABLE table_name_82 (wins INT, against VARCHAR, losses VARCHAR)

When against is more than 1244 with less than 8 losses, what is the average of wins?
SELECT AVG(wins) FROM table_name_82 WHERE against > 1244 AND losses < 8
SELECT AVG("wins") FROM "table_name_82" WHERE "against" > 1244 AND "losses" < 8