With a Total of less than 29, what is Ian Ryan's most Matches?
CREATE TABLE table_name_31 (matches INTEGER, player VARCHAR, total VARCHAR)
SELECT MAX(matches) FROM table_name_31 WHERE player = "ian ryan" AND total < 29
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (matches INTEGER, player VARCHAR, total VARCHAR) Question: With a Total of less than 29, what is Ian Ryan's most Matches? [/INST] SELECT MAX(matches) FROM table_name_31 WHERE player = "ian ryan" AND total < 29 </s>