CREATE TABLE "references" (
  "code" real,
  "municipality" text,
  "county" text,
  "population" real,
  "total_area" text,
  "density_per_km_2_land" real
);

Question: Which municipality has the code 2401?
SQL: SELECT "municipality" FROM "references" WHERE "code"=2401;

Question: What is the population of Danderyd municipality in Stockholm County with a code lower than 162?
SQL: SELECT COUNT("population") FROM "references" WHERE "county"='stockholm county' AND "municipality"='danderyd municipality' AND "code"<162;

Question: What is the total area for a code less than 1862 and a density (per km 2 land) of 21.6?
SQL: SELECT "total_area" FROM "references" WHERE "code"<1862 AND "density_per_km_2_land"=21.6;