CREATE TABLE "7_seats" (
  "riding" text,
  "candidate_s_name" text,
  "gender" text,
  "residence" text,
  "occupation" text,
  "votes" real,
  "rank" text
);

Question: The candidate with Riding of st. john's south—mount pearl is what gender?
SQL: SELECT "gender" FROM "7_seats" WHERE "riding"='st. john''s south—mount pearl';

Question: What is the rank of walter noel from st. john's?
SQL: SELECT "rank" FROM "7_seats" WHERE "residence"='st. john''s' AND "candidate_s_name"='walter noel';

Question: What is the name of the candidate from happy valley-goose bay with a gender of m?
SQL: SELECT "candidate_s_name" FROM "7_seats" WHERE "gender"='m' AND "residence"='happy valley-goose bay';