CREATE TABLE "population_of_the_46_city_districts_on_3" (
  "city_district_stadtteil" text,
  "area_in_km" text,
  "population" real,
  "foreign_nationals" real,
  "foreign_nationals_in_pct" text
);

Question: Tell me the average population with foreign nationals in % of 27,3%
SQL: SELECT AVG("population") FROM "population_of_the_46_city_districts_on_3" WHERE "foreign_nationals_in_pct"='27,3%';

Question: I want to know the total number of population for foreign nationals in percentage of 23,3%
SQL: SELECT COUNT("population") FROM "population_of_the_46_city_districts_on_3" WHERE "foreign_nationals_in_pct"='23,3%';