Table: uefa_cup_matches
Columns: season
competition
round
opponent
home
away
agg

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

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

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

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

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

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