What was the least amount of wins when he had 10 poles? 
CREATE TABLE table_24584486_1 (wins INTEGER, poles VARCHAR)
SELECT MIN(wins) FROM table_24584486_1 WHERE poles = 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24584486_1 (wins INTEGER, poles VARCHAR) Question: What was the least amount of wins when he had 10 poles?  [/INST] SELECT MIN(wins) FROM table_24584486_1 WHERE poles = 10 </s>