CREATE TABLE "all_matches" (
  "rank" real,
  "name" text,
  "country" text,
  "years" text,
  "matches" real,
  "goals" real
);

Question: When the country is austria germany and the rank is kept under 5, what's the average number of matches played?
SQL: SELECT AVG("matches") FROM "all_matches" WHERE "country"='austria germany' AND "rank"<5;

Question: Which country does the player pele belong to?
SQL: SELECT "country" FROM "all_matches" WHERE "name"='pele';