question: What is the highest Total with a Rank that is smaller than 4 and a Nation of tunisia (tun) with a Gold that is smaller than 2?
answer: SELECT MAX(total) FROM table_name_57 WHERE rank < 4 AND nation = "tunisia (tun)" AND gold < 2
context: CREATE TABLE table_name_57 (total INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR)