CREATE TABLE table_name_5 (years VARCHAR2, ties NUMBER)

What years did the person coach who had more than 31 ties?
SELECT years FROM table_name_5 WHERE ties > 31
SELECT "years" FROM "table_name_5" WHERE "ties" > 31