CREATE TABLE "demographics" (
  "municipality" text,
  "fips_code" real,
  "founded" real,
  "population_2010" real,
  "area" text
);

Question: What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less than 166,327?
SQL: SELECT AVG("fips_code") FROM "demographics" WHERE "area"='114.76 sq mi (297.23 sq km)' AND "population_2010"<'166,327';

Question: What is the FIPS code for the municipality that has an area of 58.60 sq mi (151.77 sq km) and had a 2010 population smaller than 166,327?
SQL: SELECT COUNT("fips_code") FROM "demographics" WHERE "population_2010"<'166,327' AND "area"='58.60 sq mi (151.77 sq km)';

Question: In what year was Yauco, which had over 42,043 people in 2010, founded?
SQL: SELECT AVG("founded") FROM "demographics" WHERE "municipality"='yauco' AND "population_2010">'42,043';