Table: australian_reps_1917_1919
Columns: member
party
electorate
state
first_elected

Question: What state has Richard Foster as a member?
SQL: SELECT "state" FROM australian_reps_1917_1919 WHERE "member" = 'richard foster'

Question: Which member has Cook as the electorate?
SQL: SELECT "member" FROM australian_reps_1917_1919 WHERE "electorate" = 'cook'