CREATE TABLE "churches_in_bremanger" (
  "parish_prestegjeld" text,
  "sub_parish_sokn" text,
  "church_name" text,
  "year_built" real,
  "location_of_the_church" text
);

Question: Which church was built in 1600?
SQL: SELECT "church_name" FROM "churches_in_bremanger" WHERE "year_built"=1600;

Question: What is the Location of the Church that was built in the year 1914?
SQL: SELECT "location_of_the_church" FROM "churches_in_bremanger" WHERE "year_built"=1914;

Question: Where is the Church that has a Sub-Parish (Sokn) of rugsund?
SQL: SELECT "location_of_the_church" FROM "churches_in_bremanger" WHERE "sub_parish_sokn"='rugsund';

Question: Which Year Built has a Parish (Prestegjeld) of bremanger parish, and a Location of the Church of bremanger?
SQL: SELECT AVG("year_built") FROM "churches_in_bremanger" WHERE "parish_prestegjeld"='bremanger parish' AND "location_of_the_church"='bremanger';