CREATE TABLE "population_of_solano_county_towns" (
  "city" text,
  "1860" text,
  "1870" text,
  "1880" text,
  "1890" real,
  "1900" real,
  "1910" real,
  "1920" real
);

Question: What is the 1880 figure when 1860 is N/A and 1910 is 494?
SQL: SELECT "1880" FROM "population_of_solano_county_towns" WHERE "1860"='n/a' AND "1910"=494;

Question: What is the 1920 number when 1890 is greater than 1,236, 1910 is less than 1,177 and the city is Vacaville?
SQL: SELECT SUM("1920") FROM "population_of_solano_county_towns" WHERE "1890">'1,236' AND "city"='vacaville' AND "1910"<'1,177';