Context: CREATE TABLE table_name_23 (games INTEGER, goals VARCHAR, debut_year VARCHAR)
Question: How many games had 22 goals before 1935?
Answer: SELECT SUM(games) FROM table_name_23 WHERE goals = 22 AND debut_year < 1935