CREATE TABLE "by_population_density" (
  "rank" real,
  "province" text,
  "population" real,
  "area" real,
  "density" real
);

Question: What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823?
SQL: SELECT MAX("rank") FROM "by_population_density" WHERE "density"<376.37 AND "province"='valverde' AND "area">823;

Question: What is the average Density when the area is more than 1,185.8 with a population of 63,029?
SQL: SELECT AVG("density") FROM "by_population_density" WHERE "area">'1,185.8' AND "population"='63,029';

Question: What is the highest Density for the independencia province, with an area smaller than 2,007.4?
SQL: SELECT MAX("density") FROM "by_population_density" WHERE "province"='independencia' AND "area"<'2,007.4';