CREATE TABLE table_name_19 (year VARCHAR, class VARCHAR)

Which year has a railway class of 250?
SELECT year FROM table_name_19 WHERE class = "250"
SELECT "year" FROM "table_name_19" WHERE "250" = "class"