Table schema:
CREATE TABLE table_name_39 (state VARCHAR, electorate VARCHAR)

Question: In which state is the Petrie electorate?
SQL: SELECT state FROM table_name_39 WHERE electorate = "petrie"