CREATE TABLE "by_country" (
  "country" text,
  "launches" real,
  "successes" real,
  "failures" real,
  "partial_failures" real
);

Question: Failures larger than 0, and a Successes of 1 has what lowest partial failures?
SQL: SELECT MIN("partial_failures") FROM "by_country" WHERE "failures">0 AND "successes"=1;

Question: Successes smaller than 6, and Launches larger than 1, and a Failures of 2 is what sum of the partial failures?
SQL: SELECT SUM("partial_failures") FROM "by_country" WHERE "successes"<6 AND "launches">1 AND "failures"=2;