CREATE TABLE table_name_23 (games INT, goals VARCHAR, debut_year VARCHAR)

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