What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74?
CREATE TABLE table_name_51 (Id VARCHAR)
SELECT MAX(2000) FROM table_name_51 WHERE 2010 = 82 AND 2005 < 74
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (Id VARCHAR) Question: What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74? [/INST] SELECT MAX(2000) FROM table_name_51 WHERE 2010 = 82 AND 2005 < 74 </s>