What is the rank for points less than 166.96, and a Places of 166?
CREATE TABLE "ladies" (
  "rank" real,
  "name" text,
  "nation" text,
  "sp_fs" real,
  "points" real,
  "places" text
);
SELECT AVG("rank") FROM "ladies" WHERE "points"<166.96 AND "places"='166';