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

Question: What is the number of failure for the country of Russia, and a Family of r14 r-14, and a Partial failures smaller than 0?
SQL: SELECT COUNT("failures") FROM "by_family" WHERE "country"='russia' AND "family"='r14 r-14' AND "partial_failures"<0;

Question: What is the partial failure for the Country of russia, and a Failure larger than 0, and a Family of angara, and a Launch larger than 1?
SQL: SELECT AVG("partial_failures") FROM "by_family" WHERE "country"='russia' AND "failures">0 AND "family"='angara' AND "launches">1;