CREATE TABLE "locomotives" (
  "number" real,
  "name" text,
  "builder" text,
  "type" text,
  "date" real
);

Question: What is the name of the train numbered less than 6 before 1993?
SQL: SELECT "name" FROM "locomotives" WHERE "number"<6 AND "date"<1993;

Question: What is the name of the bo-bodh train with a number less than 5?
SQL: SELECT "name" FROM "locomotives" WHERE "number"<5 AND "type"='bo-bodh';