Question: What is the median family income when the per capita is $24,114?
SQL: SELECT "Median family income" FROM "2-1840537-1" WHERE "Per capita income" = '$24,114';

Question: What is the median household income when the per capita is $21,585?
SQL: SELECT "Median household income" FROM "2-1840537-1" WHERE "Per capita income" = '$21,585';

Question: What is the population where the median family income is $48,446 and there are more than 35343 households?
SQL: SELECT AVG("Population") FROM "2-1840537-1" WHERE "Median family income" = '$48,446' AND "Number of households" > 35343.0;

Question: What is the population where the median household income is $87,832 and there are fewer than 64886 households?
SQL: SELECT AVG("Population") FROM "2-1840537-1" WHERE "Median household income" = '$87,832' AND "Number of households" < 64886.0;