What is 2011, when 2008 is "2R"?
CREATE TABLE table_name_40 (Id VARCHAR)
SELECT 2011 FROM table_name_40 WHERE 2008 = "2r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (Id VARCHAR) Question: What is 2011, when 2008 is "2R"? [/INST] SELECT 2011 FROM table_name_40 WHERE 2008 = "2r" </s>