CREATE TABLE "local_government_in_the_faroe_islands" (
  "municipality" text,
  "population" real,
  "inhabitants_per_km" real,
  "area_in_km" real,
  "markatal" real,
  "island" text,
  "region" text
);

Question: What is the average Area (in km²), when Markatal is less than 0?
SQL: SELECT AVG("area_in_km") FROM "local_government_in_the_faroe_islands" WHERE "markatal"<0;

Question: What is the highest Markatal, when Municipality is Leirvík, and when Inhabitants Per Km² is greater than 79?
SQL: SELECT MAX("markatal") FROM "local_government_in_the_faroe_islands" WHERE "municipality"='leirvík' AND "inhabitants_per_km">79;

Question: What is the sum of Population, when Markatal is greater than 48, when Inhabitants Per Km² is greater than 24, and when Municipality is Runavík?
SQL: SELECT SUM("population") FROM "local_government_in_the_faroe_islands" WHERE "markatal">48 AND "inhabitants_per_km">24 AND "municipality"='runavík';

Question: What is the sum of Markatal, when Inhabitants Per Km² is less than 13, and when Area (in Km²) is 27?
SQL: SELECT SUM("markatal") FROM "local_government_in_the_faroe_islands" WHERE "inhabitants_per_km"<13 AND "area_in_km"=27;