CREATE TABLE "final_table" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);

Question: what is the total number of played when the goals for is more than 34 and goals against is more than 63?
SQL: SELECT COUNT("played") FROM "final_table" WHERE "goals_for">34 AND "goals_against">63;

Question: what is the total number of goal different when the club is cf extremadura and the played is less than 38?
SQL: SELECT COUNT("goal_difference") FROM "final_table" WHERE "club"='cf extremadura' AND "played"<38;

Question: what is the average points when the goal difference is less than 17, the club is getafe cf and the goals for is more than 30?
SQL: SELECT AVG("points") FROM "final_table" WHERE "goal_difference"<17 AND "club"='getafe cf' AND "goals_for">30;

Question: what is the sum of goals for when the position is less than 8, the losses is less than 10 the goals against is less than 35 and played is less than 38?
SQL: SELECT SUM("goals_for") FROM "final_table" WHERE "position"<8 AND "losses"<10 AND "goals_against"<35 AND "played"<38;