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"
context: CREATE TABLE table_name_47 (years VARCHAR, authority VARCHAR, name VARCHAR)