CREATE TABLE "scotland_national_team" (
  "rank" real,
  "date" text,
  "stadium" text,
  "opponent" text,
  "competition" text,
  "score_scotland_s_score_is_shown_first" text
);

Question: Which competition was ranked 9?
SQL: SELECT "competition" FROM "scotland_national_team" WHERE "rank"=9;

Question: What was Scotland's score at the rank 3 Competition of BHC?
SQL: SELECT "score_scotland_s_score_is_shown_first" FROM "scotland_national_team" WHERE "competition"='bhc' AND "rank"=3;