CREATE TABLE "relegation_playoff" (
  "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 was the highest amount of losses when there were 45 goals and the play was smaller than 38?
SQL: SELECT MAX("losses") FROM "relegation_playoff" WHERE "goals_for"=45 AND "played"<38;

Question: What were the lowest goals when there were mor than 15 wins and the goal difference was larger than 35?
SQL: SELECT MIN("goals_for") FROM "relegation_playoff" WHERE "wins">15 AND "goal_difference">35;

Question: What were the highest losses when the goal was smaller than 45 and the points was smaller than 18?
SQL: SELECT MAX("losses") FROM "relegation_playoff" WHERE "goals_for"<45 AND "points"<18;

Question: What were the highest goals against when the position was larger than 19 and the goals smaller than 36?
SQL: SELECT MAX("goals_against") FROM "relegation_playoff" WHERE "position">19 AND "goals_for"<36;