What was the name when the state was wey?
CREATE TABLE table_name_22 (name VARCHAR, state VARCHAR)
SELECT name FROM table_name_22 WHERE state = "wey"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (name VARCHAR, state VARCHAR) Question: What was the name when the state was wey? [/INST] SELECT name FROM table_name_22 WHERE state = "wey" </s>