What's the average goal ratio with Goals larger than 1, Games larger than 161, and a Debut in Europe smaller than 1985?
CREATE TABLE "top_appearances_in_uefa_club_competition" (
  "rank" real,
  "player" text,
  "games" real,
  "goals" real,
  "goal_ratio" real,
  "debut_in_europe" real
);
SELECT AVG("goal_ratio") FROM "top_appearances_in_uefa_club_competition" WHERE "goals">1 AND "games">161 AND "debut_in_europe"<1985;