CREATE TABLE "semi_finalists" (
  "rank" real,
  "country_territory" text,
  "nuestra_belleza_latina" real,
  "1st_runner_up" real,
  "2nd_runner_up" real,
  "3rd_runner_up" real,
  "4th_runner_up" real,
  "5th_runner_up" real,
  "6th_runner_up" real,
  "7th_runner_up" real,
  "8th_runner_up" real,
  "9th_runner_up" real,
  "10th_runner_up" real,
  "11th_runner_up" real,
  "top_18_20_24_30" real,
  "total" real
);

Question: What is the 7th runner-up of the country with a 10th runner-up greater than 0, a 9th runner-up greater than 0, and an 8th runner-up greater than 1?
SQL: SELECT SUM("7th_runner_up") FROM "semi_finalists" WHERE "10th_runner_up">0 AND "9th_runner_up">0 AND "8th_runner_up">1;

Question: What is the 3rd runner-up of the country with more than 0 9th runner-up, an 11th runner-up of 0, and the 1st runner-up greater than 0?
SQL: SELECT SUM("3rd_runner_up") FROM "semi_finalists" WHERE "9th_runner_up">0 AND "11th_runner_up"=0 AND "1st_runner_up">0;

Question: What is the average total of the country with a 4th runner-up of 0 and a Nuestra Bellaza Latina less than 0?
SQL: SELECT AVG("total") FROM "semi_finalists" WHERE "4th_runner_up"=0 AND "nuestra_belleza_latina"<0;

Question: What is the total number of 3rd runners-up of the country ranked lower than 12 with a 10th runner-up of 0, an 8th runner-up less than 1, and a 7th runner-up of 0?
SQL: SELECT COUNT("3rd_runner_up") FROM "semi_finalists" WHERE "10th_runner_up"=0 AND "8th_runner_up"<1 AND "7th_runner_up"=0 AND "rank">12;

Question: What is the lowest 7th runner-up of the country with a top 18/20/24/30 greater than 5, a 1st runner-up greater than 0, and an 11th runner-up less than 0?
SQL: SELECT MIN("7th_runner_up") FROM "semi_finalists" WHERE "top_18_20_24_30">5 AND "1st_runner_up">0 AND "11th_runner_up"<0;

Question: What is the 9th runner-up with a top 18/20/24/30 greater than 17 and a 5th runner-up of 2?
SQL: SELECT SUM("9th_runner_up") FROM "semi_finalists" WHERE "5th_runner_up"=2 AND "top_18_20_24_30">17;