What's the total number of moves with a result of  ½–½ and a black of Anand before 1999?
CREATE TABLE table_name_52 (moves VARCHAR, black VARCHAR, result VARCHAR, year VARCHAR)
SELECT COUNT(moves) FROM table_name_52 WHERE result = "½–½" AND year < 1999 AND black = "anand"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (moves VARCHAR, black VARCHAR, result VARCHAR, year VARCHAR) Question: What's the total number of moves with a result of  ½–½ and a black of Anand before 1999? [/INST] SELECT COUNT(moves) FROM table_name_52 WHERE result = "½–½" AND year < 1999 AND black = "anand" </s>