What is the 2nd leg in match with team 2 of Teram?
CREATE TABLE "al_ahly_results" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
SELECT "2nd_leg" FROM "al_ahly_results" WHERE "team_2"='teram';