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

Question: Who is team 1 when team 2 is koper?
SQL: SELECT "team_1" FROM "second_round" WHERE "team_2"='Koper';

Question: What is the tie when team 2 is koper?
SQL: SELECT MIN("tie_no") FROM "second_round" WHERE "team_2"='Koper';

Question: How many 1st leg have team 1 ofk belgrade?
SQL: SELECT COUNT("1st_leg") FROM "second_round" WHERE "team_1"='OFK Belgrade';

Question: How many tie no have team 1 as borac banja luka?
SQL: SELECT "tie_no" FROM "second_round" WHERE "team_1"='Borac Banja Luka';