What is the total rank with more than 0 silver and less than 2 medals total?
CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT COUNT("rank") FROM "medal_table" WHERE "total"<2 AND "silver">0;