What the lost that has less than 10 points and less than 38 goals scored?
CREATE TABLE "relegation_table" (
  "place" real,
  "team" text,
  "played" real,
  "draw" real,
  "lost" real,
  "goals_scored" real,
  "goals_conceded" real,
  "points" real
);
SELECT SUM("lost") FROM "relegation_table" WHERE "goals_scored"<38 AND "points"<10;