CREATE TABLE "0_6_0_0_6_0_garratt_production_list_all_" (
  "gauge" text,
  "railway" text,
  "works_no" text,
  "year" text,
  "builder" text
);

Question: In what Year is the Gauge 2 ft 6 in?
SQL: SELECT "year" FROM "0_6_0_0_6_0_garratt_production_list_all_" WHERE "gauge"='2 ft 6 in';

Question: In what Year is the Works No. 2040-2049?
SQL: SELECT "year" FROM "0_6_0_0_6_0_garratt_production_list_all_" WHERE "works_no"='2040-2049';

Question: In what Year is the Works no. 2040-2049?
SQL: SELECT "year" FROM "0_6_0_0_6_0_garratt_production_list_all_" WHERE "works_no"='2040-2049';

Question: What is the Gauge of Builder Beyer, Peacock?
SQL: SELECT "gauge" FROM "0_6_0_0_6_0_garratt_production_list_all_" WHERE "builder"='beyer, peacock';