CREATE TABLE table_name_53 (bronze INT, gold VARCHAR, total VARCHAR, nation VARCHAR)

What is the highest bronze for San Marino with less than 82 total and less than 3 golds?
SELECT MAX(bronze) FROM table_name_53 WHERE total < 82 AND nation = "san marino" AND gold < 3
SELECT MAX("bronze") FROM "table_name_53" WHERE "gold" < 3 AND "nation" = "san marino" AND "total" < 82