What class year was the player who played for Buffalo from? 
CREATE TABLE table_22982552_9 (class_year INTEGER, teams VARCHAR)
SELECT MIN(class_year) FROM table_22982552_9 WHERE teams = "Buffalo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22982552_9 (class_year INTEGER, teams VARCHAR) Question: What class year was the player who played for Buffalo from?  [/INST] SELECT MIN(class_year) FROM table_22982552_9 WHERE teams = "Buffalo" </s>