CREATE TABLE "results_by_games" (
  "year" text,
  "sports" text,
  "competitors" text,
  "gold" text,
  "silver" text,
  "bronze" text,
  "total" text
);

Question: What was the Total the Year Yugoslavia had 0 Silver medals and 31 Competitors?
SQL: SELECT "total" FROM "results_by_games" WHERE "silver"='0' AND "competitors"='31';

Question: What is the Bronze in the year there was a Total of 0 medals and 6 Competitors?
SQL: SELECT "bronze" FROM "results_by_games" WHERE "total"='0' AND "competitors"='6';

Question: In what Year did Yugoslavia have 4 Competitors with 0 medals Total?
SQL: SELECT "year" FROM "results_by_games" WHERE "total"='0' AND "competitors"='4';

Question: In the Year Yugoslavia won 1 Silver, how many Gold medals did they win?
SQL: SELECT "gold" FROM "results_by_games" WHERE "silver"='1';

Question: What is the Total medals the Year Yugoslavia had 1 Sport and won 0 Gold, Bronze or Silver?
SQL: SELECT "total" FROM "results_by_games" WHERE "gold"='0' AND "bronze"='0' AND "silver"='0' AND "sports"='1';