Table: steam_locomotive_details
Columns: gauge
railway
works_no
year
builder

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

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

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

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