Which Wheels has Built smaller than 1958, a Location of york, and a Railway of nsr?
CREATE TABLE table_name_31 (wheels VARCHAR, railway VARCHAR, built VARCHAR, location VARCHAR)
SELECT wheels FROM table_name_31 WHERE built < 1958 AND location = "york" AND railway = "nsr"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (wheels VARCHAR, railway VARCHAR, built VARCHAR, location VARCHAR) Question: Which Wheels has Built smaller than 1958, a Location of york, and a Railway of nsr? [/INST] SELECT wheels FROM table_name_31 WHERE built < 1958 AND location = "york" AND railway = "nsr" </s>