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

Question: What was the 1st leg when team 1 was apoel?
SQL: SELECT "1st_leg" FROM "second_round" WHERE "team_1"='apoel';

Question: What was team 2 when team 1 was omonia?
SQL: SELECT "team_2" FROM "second_round" WHERE "team_1"='omonia';