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