CREATE TABLE "matches" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);

Question: What team 1 has a team 2 of universidad nacional?
SQL: SELECT "team_1" FROM "matches" WHERE "team_2"='universidad nacional';

Question: What team 2 has a team 1 of harbour view?
SQL: SELECT "team_2" FROM "matches" WHERE "team_1"='harbour view';

Question: What's the 2nd leg for team 2 san francisco?
SQL: SELECT "2nd_leg" FROM "matches" WHERE "team_2"='san francisco';

Question: What's the 1st leg of team 1 alajuelense?
SQL: SELECT "1st_leg" FROM "matches" WHERE "team_1"='alajuelense';