CREATE TABLE "demography_and_ethnic_background" (
  "census_year" real,
  "number_of_muslims_000" real,
  "population_of_england_and_wales_000" real,
  "muslim_pct_of_total_population" real,
  "registered_mosques" real,
  "muslims_per_mosque" real
);

Question: What is the number of registered mosques with a population of England and Wales greater than 46,196 in a year before 1971?
SQL: SELECT COUNT("registered_mosques") FROM "demography_and_ethnic_background" WHERE "population_of_england_and_wales_000">'46,196' AND "census_year"<1971;

Question: What is the lowest Muslim (% of Total population) of a year after 2011?
SQL: SELECT MIN("muslim_pct_of_total_population") FROM "demography_and_ethnic_background" WHERE "census_year">2011;

Question: What is the highest population of England and Wales that has less than 50 Muslims?
SQL: SELECT MAX("population_of_england_and_wales_000") FROM "demography_and_ethnic_background" WHERE "number_of_muslims_000"<50;