CREATE TABLE "relegation_table" (
  "place" real,
  "team" text,
  "played" real,
  "draw" real,
  "lost" real,
  "goals_scored" real,
  "goals_conceded" real,
  "points" real
);

Question: What's the draw that's played less than 36 and has 42 points?
SQL: SELECT AVG("draw") FROM "relegation_table" WHERE "points"=42 AND "played"<36;

Question: What the lost that has less than 10 points and less than 38 goals scored?
SQL: SELECT SUM("lost") FROM "relegation_table" WHERE "goals_scored"<38 AND "points"<10;

Question: what the most lost for Alianza with a draw less than 6?
SQL: SELECT MAX("lost") FROM "relegation_table" WHERE "team"='alianza' AND "draw"<6;

Question: What the lost in place less than 3 and having more than 63 goals scored?
SQL: SELECT SUM("lost") FROM "relegation_table" WHERE "goals_scored">63 AND "place"<3;