Table schema:
CREATE TABLE table_name_31 (total INTEGER, rank VARCHAR, gold VARCHAR)

Question: What is the largest total when the rank is 6 and there's less than 1 gold?
SQL: SELECT MAX(total) FROM table_name_31 WHERE rank = "6" AND gold < 1