CREATE TABLE "new_zealand" (
  "nbr_number" real,
  "year" real,
  "original_operator" text,
  "class" text,
  "wheel_arrangement" text,
  "road_number" real,
  "location" text
);

Question: What is the highest NBR number that corresponds to the J class and the road number of 1211?
SQL: SELECT MAX("nbr_number") FROM "new_zealand" WHERE "class"='j' AND "road_number"=1211;

Question: How many road numbers are before 1922?
SQL: SELECT COUNT("road_number") FROM "new_zealand" WHERE "year"<1922;

Question: Which original operator is in the 25nc class?
SQL: SELECT "original_operator" FROM "new_zealand" WHERE "class"='25nc';

Question: Which class starts after 1939 and has a road number smaller than 3508?
SQL: SELECT "class" FROM "new_zealand" WHERE "year">1939 AND "road_number"<3508;