CREATE TABLE "models" (
  "model" text,
  "chassis" real,
  "engine" real,
  "year_from" real,
  "year_to" real
);

Question: Which Engine has a Model of sl500, and a Year From larger than 1999?
SQL: SELECT MAX("engine") FROM "models" WHERE "model"='sl500' AND "year_from">1999;

Question: Which Engine has a Model of sl500, and a Chassis smaller than 129.067?
SQL: SELECT MIN("engine") FROM "models" WHERE "model"='sl500' AND "chassis"<129.067;

Question: How many engines have a Model of sl600, and a Year From of 1994, and a Year To smaller than 1995?
SQL: SELECT COUNT("engine") FROM "models" WHERE "model"='sl600' AND "year_from"=1994 AND "year_to"<1995;

Question: Which Year To has an Engine of 119.972, and a Chassis smaller than 129.067?
SQL: SELECT MIN("year_to") FROM "models" WHERE "engine"=119.972 AND "chassis"<129.067;