How many ranks have 0 golds, a Nation of namibia, and a Total smaller than 1?
CREATE TABLE "medal_standings" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT COUNT("rank") FROM "medal_standings" WHERE "gold"=0 AND "nation"='namibia' AND "total"<1;