CREATE TABLE "new_mexico_places_ranked_by_per_capita_i" (
  "rank" real,
  "place" text,
  "county" text,
  "per_capita_income" text,
  "median_house_hold_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);

Question: What is the population where the rank is higher than 51 and the Median House-hold income is $25,250?
SQL: SELECT SUM("population") FROM "new_mexico_places_ranked_by_per_capita_i" WHERE "rank">51 AND "median_house_hold_income"='$25,250';

Question: What is the Population where the Median House-hold Income is $25,016?
SQL: SELECT MIN("population") FROM "new_mexico_places_ranked_by_per_capita_i" WHERE "median_house_hold_income"='$25,016';

Question: What is the Number of Households that have a Per Capita Income of $21,345?
SQL: SELECT AVG("number_of_households") FROM "new_mexico_places_ranked_by_per_capita_i" WHERE "per_capita_income"='$21,345';

Question: What County has a Median Family Income of $79,331?
SQL: SELECT "county" FROM "new_mexico_places_ranked_by_per_capita_i" WHERE "median_family_income"='$79,331';