What is the total of the goal difference entries for entries with fewer than 49 goals and position smaller than 8?
CREATE TABLE "group_i" (
  "position" real,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
SELECT COUNT("goal_difference") FROM "group_i" WHERE "goals_for"<49 AND "position"<8;