CREATE TABLE "new_mexico_counties_ranked_by_per_capita" (
  "county" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);

Question: What's the median family income with a household income of $25,583?
SQL: SELECT "median_family_income" FROM "new_mexico_counties_ranked_by_per_capita" WHERE "median_household_income"='$25,583';

Question: What's the $51,914 median household income per capita?
SQL: SELECT "per_capita_income" FROM "new_mexico_counties_ranked_by_per_capita" WHERE "median_household_income"='$51,914';