user: ### NOW ANSWER:
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?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['real', 'text', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'Algeria (ALG)', 4.0, 2.0, 2.0, 8.0]
SQL:

assistant: SELECT MAX("Total") FROM "Table" WHERE "Rank" < 4.0 AND "Nation" = 'tunisia (tun)' AND "Gold" < 2.0;