CREATE TABLE table_name_31 (matches NUMBER, player VARCHAR2, total VARCHAR2)

With a Total of less than 29, what is Ian Ryan's most Matches?
SELECT MAX(matches) FROM table_name_31 WHERE player = "ian ryan" AND total < 29
SELECT MAX("matches") FROM "table_name_31" WHERE "ian ryan" = "player" AND "total" < 29