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

Question: What is the average goals scored when less than 34 were played and there were more than 2 draws?
SQL: SELECT AVG("goals_scored") FROM "relegation_table" WHERE "played"<34 AND "draw">2;

Question: What is the average goals scored of the team who scored 44 points and placed higher than 5?
SQL: SELECT AVG("goals_scored") FROM "relegation_table" WHERE "points"='44' AND "place">5;

Question: What is the lowest place of the team who conceded 36 goals and lost more than 6 times?
SQL: SELECT MIN("place") FROM "relegation_table" WHERE "goals_conceded"=36 AND "lost">6;