Table schema:
CREATE TABLE table_name_98 (rank INTEGER, total VARCHAR, gold VARCHAR, silver VARCHAR)

Question: What is the highest rank a country with less than 3 gold, more than 2 silver, and less than 5 total medals has?
SQL: SELECT MAX(rank) FROM table_name_98 WHERE gold < 3 AND silver > 2 AND total < 5