Question: Which Number of households has Per capita income of $21,571, and a Population smaller than 9783?
SQL: SELECT AVG("Number of households") FROM "2-1827960-1" WHERE "Per capita income" = '$21,571' AND "Population" < 9783.0;

Question: Which Number of households has a County of cook, and Population smaller than 5176?
SQL: SELECT AVG("Number of households") FROM "2-1827960-1" WHERE "County" = 'cook' AND "Population" < 5176.0;

Question: What Per capita income has a Median family income of $50,755?
SQL: SELECT "Per capita income" FROM "2-1827960-1" WHERE "Median family income" = '$50,755';

Question: What Number of households have a Median family income of $58,491?
SQL: SELECT "Number of households" FROM "2-1827960-1" WHERE "Median family income" = '$58,491';