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

Question: What season has a Level of 2nd, 29 points?
SQL: SELECT "season" FROM "league_and_cup_history" WHERE "level"='2nd' AND "points"=29;

Question: What is the number of points when goals were 29–30?
SQL: SELECT SUM("points") FROM "league_and_cup_history" WHERE "goals"='29–30';

Question: What is the level when points are larger than 25, and goals are 64–31?
SQL: SELECT "level" FROM "league_and_cup_history" WHERE "points">25 AND "goals"='64–31';