How many losses are there in the CD Sabadell club with a goal difference less than -2, and more than 38 played?
CREATE TABLE "final_table" (
  "position" real,
  "club" text,
  "played" real,
  "points" text,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
SELECT SUM("losses") FROM "final_table" WHERE "goal_difference"<-2 AND "club"='cd sabadell' AND "played">38;