CREATE TABLE "league_and_cup_history" (
  "season" text,
  "level" text,
  "goals" text,
  "points" real,
  "domestic_cup" text
);

Question: What was the average points in the quarterfinals domestic cup?
SQL: SELECT AVG("points") FROM "league_and_cup_history" WHERE "domestic_cup"='quarterfinals';

Question: Which level is quarterfinals domestic cup?
SQL: SELECT "level" FROM "league_and_cup_history" WHERE "domestic_cup"='quarterfinals';