Context: CREATE TABLE table_name_47 (years VARCHAR, authority VARCHAR, name VARCHAR)
Question: What years does Our Lady Sacred Heart School, which is state integrated, have?
Answer: SELECT years FROM table_name_47 WHERE authority = "state integrated" AND name = "our lady sacred heart school"