CREATE TABLE "ladies" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);

Question: What is the total number of ladies ranked who had less than 3 silvers, less than 2 total medals, and more than 0 bronze medals?
SQL: SELECT COUNT("rank") FROM "ladies" WHERE "silver"<3 AND "total"<2 AND "bronze">0;

Question: What is the total number of gold medals for the skater with less than 3 bronze medals, more than 0 silver medals and a rank smaller than 11?
SQL: SELECT COUNT("gold") FROM "ladies" WHERE "bronze"<3 AND "rank"<11 AND "silver">0;