CREATE TABLE table_name_83 (rank INT, total VARCHAR, silver VARCHAR, gold VARCHAR)

What is the highest rank that has 5 silvers, less than 5 golds, and less than 7 total medals?
SELECT MAX(rank) FROM table_name_83 WHERE silver = 5 AND gold < 5 AND total < 7
SELECT MAX("rank") FROM "table_name_83" WHERE "gold" < 5 AND "silver" = 5 AND "total" < 7