CREATE TABLE "towns" (
  "town" text,
  "population_2001" real,
  "population_rank" real,
  "county" text,
  "municipality" text
);

Question: What town is from the molėtai district municipality and has a population rank of 187 and a population less than 470 in 2001?
SQL: SELECT "town" FROM "towns" WHERE "municipality"='molėtai district municipality' AND "population_2001"<470 AND "population_rank"=187;

Question: What county is the town with a rank of 205 located in?
SQL: SELECT "county" FROM "towns" WHERE "population_rank"=205;