Context: CREATE TABLE table_name_40 (years VARCHAR, roll VARCHAR, authority VARCHAR, decile VARCHAR)
Question: Name the years with authority of state and decile more than 6 with roll less than 33
Answer: SELECT years FROM table_name_40 WHERE authority = "state" AND decile > 6 AND roll < 33