CREATE TABLE "eighthfinals" (
  "team_num1" text,
  "agg" text,
  "team_num2" text,
  "1st_leg" text,
  "2nd_leg" text
);

Question: what's the first leg with gran canaria as team #2?
SQL: SELECT "1st_leg" FROM "eighthfinals" WHERE "team_num2"='gran canaria';

Question: with team #1 as lukoil academic what is team #2?
SQL: SELECT "team_num2" FROM "eighthfinals" WHERE "team_num1"='lukoil academic';

Question: with team #2 as akasvayu girona what is team #1?
SQL: SELECT "team_num1" FROM "eighthfinals" WHERE "team_num2"='akasvayu girona';