What's the 2nd leg for team 2 san francisco?
CREATE TABLE "matches" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
SELECT "2nd_leg" FROM "matches" WHERE "team_2"='san francisco';