How many atp wins did he have when his money list rank was 4? 
CREATE TABLE table_22839669_12 (atp_wins INTEGER, money_list_rank VARCHAR)
SELECT MAX(atp_wins) FROM table_22839669_12 WHERE money_list_rank = 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22839669_12 (atp_wins INTEGER, money_list_rank VARCHAR) Question: How many atp wins did he have when his money list rank was 4?  [/INST] SELECT MAX(atp_wins) FROM table_22839669_12 WHERE money_list_rank = 4 </s>