CREATE TABLE "by_orbit" (
  "orbital_regime" text,
  "launches" real,
  "successes" real,
  "failures" real,
  "accidentally_achieved" real
);

Question: What is the orbital regime of launches greater than 4 and failures less than 2?
SQL: SELECT "orbital_regime" FROM "by_orbit" WHERE "launches">4 AND "failures"<2;

Question: What is the total of medium earth orbital regime, accidentally achieved and successes greater than 3?
SQL: SELECT SUM("accidentally_achieved") FROM "by_orbit" WHERE "orbital_regime"='medium earth' AND "successes">3;

Question: What is the greatest successes that have failures greater than 1 and launches less than 28?
SQL: SELECT MAX("successes") FROM "by_orbit" WHERE "failures">1 AND "launches"<28;

Question: What is the total failures of heliocentric orbit orbital regimes and launches less than 1?
SQL: SELECT SUM("failures") FROM "by_orbit" WHERE "orbital_regime"='heliocentric orbit' AND "launches"<1;