CREATE TABLE table_name_7 (touchdowns NUMBER, yards VARCHAR2, long VARCHAR2)

What is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39?
SELECT AVG(touchdowns) FROM table_name_7 WHERE yards < 293 AND long > 39
SELECT AVG("touchdowns") FROM "table_name_7" WHERE "long" > 39 AND "yards" < 293