What is the lowest played for the entry with position of 2 and fewer than 9 losses?
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 MIN("played") FROM "group_i" WHERE "position"=2 AND "losses"<9;