Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### 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