Table: frankfurt_districts
Columns: no
city_district_stadtteil
area_in_km
population
foreign_nationals
foreign_nationals_in
area_district_ortsbezirk

Question: How many foreigners in percentage terms had a population of 4.911?
SQL: SELECT COUNT("foreign_nationals_in") FROM frankfurt_districts WHERE "population" = '4.911'

Question: What is the number of the city district of stadtteil where foreigners are 5.162?
SQL: SELECT COUNT("city_district_stadtteil") FROM frankfurt_districts WHERE "foreign_nationals" = '5.162'

Question: What is the city where the number is 47?
SQL: SELECT "city_district_stadtteil" FROM frankfurt_districts WHERE "no" = '47'