What is the lowest total pld with 57 points in 2006-07, and more than 39 points in 2008-09
CREATE TABLE "relegation" (
  "team" text,
  "2006_07_pts" text,
  "2007_08_pts" text,
  "2008_09_pts" real,
  "total_pts" real,
  "total_pld" real
);
SELECT MIN("total_pld") FROM "relegation" WHERE "2006_07_pts"='57' AND "2008_09_pts">39;