CREATE TABLE "immigration" (
  "year" real,
  "indians_admitted" real,
  "pakistanis_admitted" real,
  "sri_lankans_admitted" real,
  "bangladeshis_admitted" real,
  "nepalis_admitted" real
);

Question: How many Indians were admitted in 2001?
SQL: SELECT "indians_admitted" FROM "immigration" WHERE "year"=2001;

Question: What is the greatest number of Pakistanis admitted to Canada during those times when the number of Nepalis admitted was 627?
SQL: SELECT MAX("pakistanis_admitted") FROM "immigration" WHERE "nepalis_admitted"=627;

Question: What is the most number of Indians admitted to Canada when the number of Sri Lankans admitted was 3104?
SQL: SELECT MIN("indians_admitted") FROM "immigration" WHERE "sri_lankans_admitted"=3104;