What episode did actor Daniel Macpherson's character have the rank of Detective Senior Constable
CREATE TABLE table_name_46 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR)
SELECT episodes FROM table_name_46 WHERE rank = "detective senior constable" AND actor_actress = "daniel macpherson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR) Question: What episode did actor Daniel Macpherson's character have the rank of Detective Senior Constable [/INST] SELECT episodes FROM table_name_46 WHERE rank = "detective senior constable" AND actor_actress = "daniel macpherson" </s>