CREATE TABLE "historical_population" (
  "rank" text,
  "county" text,
  "pct_1960" real,
  "pct_2000" real,
  "pct_2040" real
);

Question: Which county has a % (2040) larger than 1.8, a % (2000) smaller than 4.1, a % (1960) smaller than 3.2, and is ranked 13?
SQL: SELECT "county" FROM "historical_population" WHERE "pct_2040">1.8 AND "pct_2000"<4.1 AND "pct_1960"<3.2 AND "rank"='13';

Question: What is the % (1960) of Troms, which has a % (2040) smaller than 100 and a % (2000) smaller than 4.7?
SQL: SELECT SUM("pct_1960") FROM "historical_population" WHERE "pct_2040"<100 AND "pct_2000"<4.7 AND "county"='troms';

Question: What is the % (1960) of the county with a % (2040) of 3.4?
SQL: SELECT COUNT("pct_1960") FROM "historical_population" WHERE "pct_2040"=3.4;