CREATE TABLE "references" (
  "urban_area" text,
  "population_1_1_2009" text,
  "population_1_1_2008" real,
  "population_1_1_2007" text,
  "population_1_1_2006" real,
  "population_per_square_km" real
);

Question: Name the sum of population 1.1.2008 for tønsberg and population 1.1.2006 more than 45.447
SQL: SELECT SUM("population_1_1_2008") FROM "references" WHERE "urban_area"='tønsberg' AND "population_1_1_2006">45.447;

Question: Name the least population 1.1.2008 with population per square km of 1.957 and population 1.1.2006 less than 12.67
SQL: SELECT MIN("population_1_1_2008") FROM "references" WHERE "population_per_square_km"=1.957 AND "population_1_1_2006"<12.67;

Question: Name the total number of population per square km with population 1.12006 of 12.757
SQL: SELECT COUNT("population_per_square_km") FROM "references" WHERE "population_1_1_2006"=12.757;