CREATE TABLE "subdivisions" (
  "name" text,
  "geographic_code" text,
  "type" text,
  "households" real,
  "population_2004" real,
  "foreign_population" real,
  "moroccan_population" real
);

Question: Which Foreign population has a Population (2004) larger than 234733?
SQL: SELECT AVG("foreign_population") FROM "subdivisions" WHERE "population_2004">234733;

Question: Which Population (2004) has a Moroccan population larger than 234506?
SQL: SELECT AVG("population_2004") FROM "subdivisions" WHERE "moroccan_population">234506;