CREATE TABLE "by_season" (
  "season" text,
  "competition" text,
  "round" text,
  "opponent" text,
  "home" text,
  "away" text,
  "agg" text
);

Question: Which Season has an Agg of 4–1, and an Opponent of rapid wien?
SQL: SELECT "season" FROM "by_season" WHERE "agg"='4–1' AND "opponent"='rapid wien';

Question: Which Home has an Opponent of brøndby?
SQL: SELECT "home" FROM "by_season" WHERE "opponent"='brøndby';

Question: Which Away has an Opponent of slavia prague?
SQL: SELECT "away" FROM "by_season" WHERE "opponent"='slavia prague';

Question: Which Away has a Competition of uefa cup, and an Opponent of anderlecht?
SQL: SELECT "away" FROM "by_season" WHERE "competition"='uefa cup' AND "opponent"='anderlecht';

Question: Which Away has a Home of 2–2?
SQL: SELECT "away" FROM "by_season" WHERE "home"='2–2';

Question: Which Away has a Season of 2001–02, and an Opponent of dinaburg?
SQL: SELECT "away" FROM "by_season" WHERE "season"='2001–02' AND "opponent"='dinaburg';