CREATE TABLE table_name_9 (cup_goals INT, league_apps INT)

How many cup goals for the season with more than 34 league apps?
SELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps > 34
SELECT AVG("cup_goals") FROM "table_name_9" WHERE "league_apps" > 34