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

Question: What is the total bronze with a Silver of 2, and a Gold smaller than 0?
SQL: SELECT SUM("bronze") FROM "sporting_events" WHERE "silver"=2 AND "gold"<0;

Question: What is the average total with a Rank larger than 11, a Nation of switzerland, and a Silver smaller than 0?
SQL: SELECT AVG("total") FROM "sporting_events" WHERE "rank">11 AND "nation"='switzerland' AND "silver"<0;

Question: What is the total Gold with a Bronze smaller than 7, a Total of 1, a Nation of cape verde, and a Silver smaller than 0?
SQL: SELECT SUM("gold") FROM "sporting_events" WHERE "bronze"<7 AND "total"=1 AND "nation"='cape verde' AND "silver"<0;