Table: locomotive_history_2
Columns: year
type
nos
gswr_class
gswr_nos
gsr_class
inchicore_class
withdrawn

Question: What is withdrawn with a GSR Class of 296?
SQL: SELECT "withdrawn" FROM locomotive_history_2 WHERE "gsr_class" = '296'

Question: What Inchicore Class has a GSR Class of 235?
SQL: SELECT "inchicore_class" FROM locomotive_history_2 WHERE "gsr_class" = '235'

Question: What Inchicore Class has a GSWR Class smaller than 268, and a Type of 0-4-2t?
SQL: SELECT "inchicore_class" FROM locomotive_history_2 WHERE "gswr_class" < 268 AND "type" = '0-4-2t'

Question: Which GSWR Class is from 1893?
SQL: SELECT "gswr_class" FROM locomotive_history_2 WHERE "year" = '1893'