what is the average season when results is less than 2 times in 2nd and more than 6 times in 3rd?
CREATE TABLE "by_season" (
  "season" real,
  "champion" text,
  "motorcycle" text,
  "wins" real,
  "2nd_pl" real,
  "3rd_pl" real,
  "team" text
);
SELECT AVG("season") FROM "by_season" WHERE "2nd_pl"<2 AND "3rd_pl">6;