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

Question: Name the least total with rank less than 7, gold more than 16 and bronze less than 29
SQL: SELECT MIN(total) FROM table_name_54 WHERE rank < 7 AND gold > 16 AND bronze < 29