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