Which Res has an Event of UFC 122?
CREATE TABLE table_name_40 (res VARCHAR, event VARCHAR)
SELECT res FROM table_name_40 WHERE event = "ufc 122"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (res VARCHAR, event VARCHAR) Question: Which Res has an Event of UFC 122? [/INST] SELECT res FROM table_name_40 WHERE event = "ufc 122" </s>