Table: uefa_cup_match
Columns: team_1
agg
team_2
1st_leg
2nd_leg

Question: What is the second leg that Valencia was on?
SQL: SELECT "2nd_leg" FROM uefa_cup_match WHERE "team_2" = 'valencia'