Table: railway_loco_info
Columns: railway
loco_name
build_date
wheels
disposal

Question: Which railway had the earliest build date and a disposal of "Scrapped 1941?"
SQL: SELECT MIN("build_date") FROM railway_loco_info WHERE "disposal" = 'scrapped 1941'

Question: Which railway had a loco name of Pyramus and a build date of 1911?
SQL: SELECT "railway" FROM railway_loco_info WHERE "build_date" = 1911 AND "loco_name" = 'pyramus'

Question: What was the build date of the railway(s) with 0-6-2 t wheels?
SQL: SELECT "build_date" FROM railway_loco_info WHERE "wheels" = '0-6-2 t'