CREATE TABLE table_name_23 (games NUMBER, goals VARCHAR2, debut_year VARCHAR2)

How many games had 22 goals before 1935?
SELECT SUM(games) FROM table_name_23 WHERE goals = 22 AND debut_year < 1935
SELECT SUM("games") FROM "table_name_23" WHERE "debut_year" < 1935 AND "goals" = 22