What was the term of office for the electorate warringah?
CREATE TABLE table_name_1 (term_of_office VARCHAR, electorate VARCHAR)
SELECT term_of_office FROM table_name_1 WHERE electorate = "warringah"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (term_of_office VARCHAR, electorate VARCHAR) Question: What was the term of office for the electorate warringah? [/INST] SELECT term_of_office FROM table_name_1 WHERE electorate = "warringah" </s>