CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);

Question: What is the highest points scored for the team with a position larger than 5, who had less than 4 wins and more than 8 draws?
SQL: SELECT MAX("scored") FROM "torneo_apertura" WHERE "position">5 AND "wins"<4 AND "draws">8;

Question: What is the average number conceded for hte team that had less than 19 points, played more than 18 games and had a position less than 10?
SQL: SELECT AVG("conceded") FROM "torneo_apertura" WHERE "points"<19 AND "position"<10 AND "played">18;

Question: What was the sum of the draws for the team that had 11 wins, less than 38 points, and a position smaller than 4?
SQL: SELECT SUM("draws") FROM "torneo_apertura" WHERE "position"<4 AND "wins"=11 AND "points"<38;

Question: What was the lowest number of wins for the team that scored more than 14 points and had a position of 7?
SQL: SELECT MIN("wins") FROM "torneo_apertura" WHERE "position"=7 AND "scored">14;

Question: What is the total number scored for the team that had 19 points and a position larger than 4?
SQL: SELECT COUNT("scored") FROM "torneo_apertura" WHERE "position">4 AND "points"=19;

Question: What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points?
SQL: SELECT MIN("conceded") FROM "torneo_apertura" WHERE "wins"<8 AND "scored"=21 AND "points"<23;