CREATE TABLE "g" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" real,
  "water_sqmi" real,
  "latitude" real,
  "longitude" real,
  "geo_id" real,
  "ansi_code" real
);

Question: What is the total latitude of the greenland township with more than 34.846 sqmi of land, a geo id less than 3805529660, and an ANSI code greater than 1036405?
SQL: SELECT COUNT("latitude") FROM "g" WHERE "land_sqmi">34.846 AND "geo_id"<3805529660 AND "township"='greenland' AND "ansi_code">1036405;

Question: What is the sum of the land in sq mi with an ansi code less than 1036538, a 2010 population less than 42, a longitude greater than -99.442872, and more than 0.882 sq mi of water?
SQL: SELECT SUM("land_sqmi") FROM "g" WHERE "ansi_code"<1036538 AND "pop_2010"<42 AND "longitude">-99.442872 AND "water_sqmi">0.882;

Question: What is the highest water (sq mi) of the township glenila, which has more than 33.576 sq mi of land and a latitude greater than 48.832189?
SQL: SELECT MAX("water_sqmi") FROM "g" WHERE "land_sqmi">33.576 AND "township"='glenila' AND "latitude">48.832189;

Question: What is the sum of the 2010 population with a latitude greater than 47.710905, a longitude of -101.79876, and less than 35.695 sq mi of land?
SQL: SELECT SUM("pop_2010") FROM "g" WHERE "latitude">47.710905 AND "longitude"=-101.79876 AND "land_sqmi"<35.695;

Question: What is the lowest land in sq mi with a longitude of -99.172785 and less than 0.973 sq mi of water?
SQL: SELECT MIN("land_sqmi") FROM "g" WHERE "longitude"=-99.172785 AND "water_sqmi"<0.973;