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

Question: Name the total number for sub parish sokn for 1865
SQL: SELECT COUNT("sub_parish_sokn") FROM "churches_in_bremanger" WHERE "year_built"=1865;

Question: Name the location of the church for berle kyrkje
SQL: SELECT "location_of_the_church" FROM "churches_in_bremanger" WHERE "church_name"='Berle kyrkje';

Question: Name the location of the church for bremanger
SQL: SELECT "location_of_the_church" FROM "churches_in_bremanger" WHERE "sub_parish_sokn"='Bremanger';

Question: Name the most year built for davik kyrkje
SQL: SELECT MAX("year_built") FROM "churches_in_bremanger" WHERE "church_name"='Davik Kyrkje';