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

Question: Name the builder for number 3
SQL: SELECT "builder" FROM "locomotives" WHERE "number"=3;

Question: Name the date with works number less than 1673 and number less than 3
SQL: SELECT "date" FROM "locomotives" WHERE "works_number"<1673 AND "number"<3;

Question: Name the builder for 4/1906 and works number more than 199
SQL: SELECT "builder" FROM "locomotives" WHERE "works_number">199 AND "date"='4/1906';