CREATE TABLE "virginia_counties_and_cities_ranked_by_p" (
  "county_or_city" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);

Question: How many households have a median family income of $60,400?
SQL: SELECT "number_of_households" FROM "virginia_counties_and_cities_ranked_by_p" WHERE "median_family_income"='$60,400';

Question: What county of city has more than 9,505 households with a median household income greater than $94,880?
SQL: SELECT "county_or_city" FROM "virginia_counties_and_cities_ranked_by_p" WHERE "number_of_households">'9,505' AND "median_household_income"='$94,880';