CREATE TABLE "by_configuration" (
  "rocket" text,
  "country" text,
  "type" text,
  "launches" real,
  "successes" real,
  "failures" real,
  "partial_failures" real
);

Question: What's the total failures among rockets that had more than 3 successes, type ariane 5 and more than 0 partial failures?
SQL: SELECT COUNT("failures") FROM "by_configuration" WHERE "successes">3 AND "type"='ariane 5' AND "partial_failures">0;

Question: What is the number of successes for rockets that have more than 3 launches, were based in Russia, are type soyuz and a rocket type of soyuz-u?
SQL: SELECT COUNT("successes") FROM "by_configuration" WHERE "launches">3 AND "country"='russia' AND "type"='soyuz' AND "rocket"='soyuz-u';