Which Wins is the highest one that has a Country of united states, and a Player of andy bean, and a Rank smaller than 4?
CREATE TABLE table_name_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR)
SELECT MAX(wins) FROM table_name_66 WHERE country = "united states" AND player = "andy bean" AND rank < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR) Question: Which Wins is the highest one that has a Country of united states, and a Player of andy bean, and a Rank smaller than 4? [/INST] SELECT MAX(wins) FROM table_name_66 WHERE country = "united states" AND player = "andy bean" AND rank < 4 </s>