CREATE TABLE "results_by_country" (
  "gold_medals" real,
  "silver_medals" real,
  "bronze_medals" real,
  "4th_place" real,
  "5th_place" real,
  "appearances" real
);

Question: What is the total bronze medals won, with 0 gold medals and in 5th place?
SQL: SELECT COUNT("bronze_medals") FROM "results_by_country" WHERE "gold_medals"=0 AND "5th_place"<0;

Question: What is the average amount of appearances for the Bronze Meals less than 0?
SQL: SELECT AVG("appearances") FROM "results_by_country" WHERE "bronze_medals"<0;

Question: What is the total number of 4th place that has 3 appearances for 3, and a more than 0 silver medals, and no gold medals?
SQL: SELECT COUNT("4th_place") FROM "results_by_country" WHERE "appearances"=3 AND "silver_medals">0 AND "gold_medals"<0;