CREATE TABLE table_name_40 (years VARCHAR, roll VARCHAR, authority VARCHAR, decile VARCHAR)

Name the years with authority of state and decile more than 6 with roll less than 33
SELECT years FROM table_name_40 WHERE authority = "state" AND decile > 6 AND roll < 33
SELECT "years" FROM "table_name_40" WHERE "authority" = "state" AND "decile" > 6 AND "roll" < 33