Context: CREATE TABLE table_name_34 (rank INTEGER, country VARCHAR, total VARCHAR)
Question: What rank was Peru with a total greater than 3?
Answer: SELECT MAX(rank) FROM table_name_34 WHERE country = "peru" AND total > 3