CREATE TABLE "relegation" (
  "team" text,
  "2005_06_pts" real,
  "2006_07_pts" real,
  "2007_08_pts" real,
  "total_pts" real,
  "total_pld" real
);

Question: Which 2005–06 Pts has a Team of estudiantes (lp), and a 2006–07 Pts smaller than 81?
SQL: SELECT COUNT("2005_06_pts") FROM "relegation" WHERE "team"='estudiantes (lp)' AND "2006_07_pts"<81;

Question: Which 2006–07 Pts has a 2005–06 Pts smaller than 51, a Team of huracán, and a 2007–08 Pts larger than 52?
SQL: SELECT AVG("2006_07_pts") FROM "relegation" WHERE "2005_06_pts"<51 AND "team"='huracán' AND "2007_08_pts">52;

Question: Which 2007–08 Pts has a Total Pts smaller than 173, a Total Pld larger than 38, a Team of banfield, and a 2005–06 Pts smaller than 59?
SQL: SELECT SUM("2007_08_pts") FROM "relegation" WHERE "total_pts"<173 AND "total_pld">38 AND "team"='banfield' AND "2005_06_pts"<59;

Question: Which 2006–07 Pts has a 2007–08 Pts of 53, and a 2005–06 Pts larger than 51?
SQL: SELECT MAX("2006_07_pts") FROM "relegation" WHERE "2007_08_pts"=53 AND "2005_06_pts">51;