Context: CREATE TABLE table_name_23 (class VARCHAR, type VARCHAR)
Question: What is the class of the locomotive with a 0-4-0st type?
Answer: SELECT class FROM table_name_23 WHERE type = "0-4-0st"