CREATE TABLE "all_time_most_appearances" (
  "ranking" real,
  "nationality" text,
  "name" text,
  "games" real,
  "years" text
);

Question: What is the average Games for 1965–1981, and a Ranking larger than 4?
SQL: SELECT AVG("games") FROM "all_time_most_appearances" WHERE "years"='1965–1981' AND "ranking">4;

Question: What is the Years when games shows 550?
SQL: SELECT "years" FROM "all_time_most_appearances" WHERE "games"=550;

Question: What is the Nationality that shows 4 as the ranking?
SQL: SELECT "nationality" FROM "all_time_most_appearances" WHERE "ranking"=4;