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