When in the 1st league position, how many people watch as they faced West Ham United?
CREATE TABLE table_name_18 (attendance INTEGER, league_position VARCHAR, opponents VARCHAR)
SELECT MIN(attendance) FROM table_name_18 WHERE league_position = "1st" AND opponents = "west ham united"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (attendance INTEGER, league_position VARCHAR, opponents VARCHAR) Question: When in the 1st league position, how many people watch as they faced West Ham United? [/INST] SELECT MIN(attendance) FROM table_name_18 WHERE league_position = "1st" AND opponents = "west ham united" </s>