What is Tournament, when Black is "Kramnik", when Result is "½–½", and when Moves is "40"?
CREATE TABLE table_name_46 (tournament VARCHAR, moves VARCHAR, black VARCHAR, result VARCHAR)
SELECT tournament FROM table_name_46 WHERE black = "kramnik" AND result = "½–½" AND moves = 40
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (tournament VARCHAR, moves VARCHAR, black VARCHAR, result VARCHAR) Question: What is Tournament, when Black is "Kramnik", when Result is "½–½", and when Moves is "40"? [/INST] SELECT tournament FROM table_name_46 WHERE black = "kramnik" AND result = "½–½" AND moves = 40 </s>