CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "games" real,
  "goals" real,
  "goals_games" real
);

Question: What is the average Goals/Games for Rummenigge, Karl-Heinz, with Goals less than 162?
SQL: SELECT AVG("goals_games") FROM "list_of_top_association_football_goal_sc" WHERE "name"='rummenigge, karl-heinz' AND "goals"<162;

Question: What is the sum of Games for Allofs, Klaus, with Goals less than 177?
SQL: SELECT SUM("games") FROM "list_of_top_association_football_goal_sc" WHERE "name"='allofs, klaus' AND "goals"<177;

Question: What is the highest Rank for more than 220 goals in 1965–1978-78?
SQL: SELECT MAX("rank") FROM "list_of_top_association_football_goal_sc" WHERE "goals">220 AND "years"='1965–1978-78';