How many league apps in the season with more than 2 cup goals and more than 6 cup apps?
CREATE TABLE "swindon_town_career_details" (
  "season" text,
  "team" text,
  "league_apps" real,
  "league_goals" real,
  "cup_apps" real,
  "cup_goals" real
);
SELECT SUM("league_apps") FROM "swindon_town_career_details" WHERE "cup_goals">2 AND "cup_apps">6;