What Team 2 has a second leg of 3-1?
CREATE TABLE "second_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
SELECT "team_2" FROM "second_round" WHERE "2nd_leg"='3-1';