Table: australian_reps_2004_2007
Columns: member
party
electorate
state
in_office

Question: Which member of the National Party is from the Hinkler electorate?
SQL: SELECT "member" FROM australian_reps_2004_2007 WHERE "party" = 'national' AND "electorate" = 'hinkler'

Question: Which member is from the state of SA and the grey electorate?
SQL: SELECT "member" FROM australian_reps_2004_2007 WHERE "state" = 'sa' AND "electorate" = 'grey'

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