Context: CREATE TABLE table_name_39 (state VARCHAR, electorate VARCHAR)
Question: In which state is the Petrie electorate?
Answer: SELECT state FROM table_name_39 WHERE electorate = "petrie"