CREATE TABLE "p" (
  "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 average population of the township having land of 35.666sqmi and GEO ID over 3807364500?
SQL: SELECT AVG("pop_2010") FROM "p" WHERE "land_sqmi"=35.666 AND "geo_id">3807364500;

Question: What is the average 2010 population having longitude over -102.353035, latitude over 46.937841, and 0.034 sqmi of water?
SQL: SELECT AVG("pop_2010") FROM "p" WHERE "longitude">-102.353035 AND "latitude">46.937841 AND "water_sqmi"=0.034;

Question: What is the highest 2010 population having GEO ID of 3802763220 and longitude over -98.936777?
SQL: SELECT MAX("pop_2010") FROM "p" WHERE "geo_id"=3802763220 AND "longitude">-98.936777;

Question: What is the smallest amount of water having landmass over 34.864 sqmi, in Pierce township, with a GEO ID over 3800362460?
SQL: SELECT MIN("water_sqmi") FROM "p" WHERE "land_sqmi">34.864 AND "township"='pierce' AND "geo_id">3800362460;