In which state is the Petrie electorate?
CREATE TABLE table_name_39 (state VARCHAR, electorate VARCHAR)
SELECT state FROM table_name_39 WHERE electorate = "petrie"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (state VARCHAR, electorate VARCHAR) Question: In which state is the Petrie electorate? [/INST] SELECT state FROM table_name_39 WHERE electorate = "petrie" </s>