CREATE TABLE "feast_days" (
  "date" real,
  "doubles_i_class" real,
  "doubles_ii_class" real,
  "greater_doubles" real,
  "doubles" real,
  "semidoubles" real,
  "total" real
);

Question: Which Doubles have a Total larger than 176, and a Date smaller than 1907, and Doubles, I Class smaller than 21?
SQL: SELECT MAX("doubles") FROM "feast_days" WHERE "total">176 AND "date"<1907 AND "doubles_i_class"<21;

Question: Which Total has a Date of 1602, and Greater Doubles smaller than 16?
SQL: SELECT MAX("total") FROM "feast_days" WHERE "date"=1602 AND "greater_doubles"<16;

Question: How much Total has Semidoubles smaller than 78, and Doubles, II Class smaller than 17?
SQL: SELECT COUNT("total") FROM "feast_days" WHERE "semidoubles"<78 AND "doubles_ii_class"<17;

Question: Which Greater Doubles have Doubles, II Class smaller than 17?
SQL: SELECT AVG("greater_doubles") FROM "feast_days" WHERE "doubles_ii_class"<17;

Question: How much Total has Doubles of 45, and Doubles, II Class larger than 18?
SQL: SELECT COUNT("total") FROM "feast_days" WHERE "doubles"=45 AND "doubles_ii_class">18;