SCHEMA:
CREATE TABLE table_name_46 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR)
USER:
What episode did actor Daniel Macpherson's character have the rank of Detective Senior Constable

QUERY:
SELECT episodes FROM table_name_46 WHERE rank = "detective senior constable" AND actor_actress = "daniel macpherson"