Context: CREATE TABLE table_name_87 (mins INTEGER, club VARCHAR, shts VARCHAR)
Question: What is the largest MINS for the San Jose Earthquakes with a SHTS less than 166?
Answer: SELECT MAX(mins) FROM table_name_87 WHERE club = "san jose earthquakes" AND shts < 166