user: ### NOW ANSWER:
Question: what rank has years until mandatory retirement of 6 years?
Columns: ['Name', 'Rank', 'Years until mandatory retirement', 'Appointed by', 'Year appointed']
Types: ['text', 'text', 'text', 'text', 'real']
Sample row: ['Anabelle Rodríguez', 'Associate Justice', '6 years', 'Sila María Calderón', 2004.0]
SQL:

assistant: SELECT "Rank" FROM "Table" WHERE "Years until mandatory retirement" = '6 years';