CREATE TABLE table_name_28 (railway_number_s_ VARCHAR, class VARCHAR)

What's the railway number of a D(rebuild) class?
SELECT railway_number_s_ FROM table_name_28 WHERE class = "d(rebuild)"
SELECT "railway_number_s_" FROM "table_name_28" WHERE "class" = "d(rebuild)"