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

Question: Which Position has Losses of 11, and a Played larger than 22?
SQL: SELECT SUM("position") FROM "torneo_apertura" WHERE "losses"=11 AND "played">22;

Question: How many Wins have a Scored smaller than 24, and a Conceded larger than 25, and Draws larger than 5, and a Position smaller than 9?
SQL: SELECT COUNT("wins") FROM "torneo_apertura" WHERE "scored"<24 AND "conceded">25 AND "draws">5 AND "position"<9;

Question: How many Points has a Position of 8?
SQL: SELECT AVG("points") FROM "torneo_apertura" WHERE "position"=8;

Question: How many Wins has a Scored of 27 and Draws smaller than 5?
SQL: SELECT COUNT("wins") FROM "torneo_apertura" WHERE "scored"=27 AND "draws"<5;

Question: Which Position has  Draws smaller than 7 and a Played larger than 22?
SQL: SELECT AVG("position") FROM "torneo_apertura" WHERE "draws"<7 AND "played">22;

Question: Which Played has a Scored larger than 25 and a Position of 1, and Draws smaller than 5?
SQL: SELECT MAX("played") FROM "torneo_apertura" WHERE "scored">25 AND "position"=1 AND "draws"<5;