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 is the average Draws, when Goal Difference is greater than -3, when Goals Against is 30, and when Points is greater than 45?
SQL: SELECT AVG("draws") FROM "relegation_playoff" WHERE "goal_difference">-3 AND "goals_against"=30 AND "points">45;

Question: What is the average Played, when Club is "Burgos CF", and when Draws is less than 7?
SQL: SELECT AVG("played") FROM "relegation_playoff" WHERE "club"='burgos cf' AND "draws"<7;

Question: What is the highest Goals Against, when Club is "Pontevedra CF", and when Played is less than 38?
SQL: SELECT MAX("goals_against") FROM "relegation_playoff" WHERE "club"='pontevedra cf' AND "played"<38;