What is the least number of wins West Ham got when they tied 27 times?
CREATE TABLE table_name_54 (west_ham_wins INTEGER, drawn INTEGER)
SELECT MIN(west_ham_wins) FROM table_name_54 WHERE drawn > 27
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (west_ham_wins INTEGER, drawn INTEGER) Question: What is the least number of wins West Ham got when they tied 27 times? [/INST] SELECT MIN(west_ham_wins) FROM table_name_54 WHERE drawn > 27 </s>