Instruct: What is Tournament, when Black is "Kramnik", when Result is "½–½", and when Moves is "40"?
Output: SELECT Tournament FROM table WHERE Black = kramnik AND Result = ½–½ AND Moves = 40