What years does Our Lady Sacred Heart School, which is state integrated, have?
CREATE TABLE table_name_47 (years VARCHAR, authority VARCHAR, name VARCHAR)
SELECT years FROM table_name_47 WHERE authority = "state integrated" AND name = "our lady sacred heart school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: 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? [/INST] SELECT years FROM table_name_47 WHERE authority = "state integrated" AND name = "our lady sacred heart school" </s>