Process model query database use process variable as filter

I am using process model to create simple application to use accountid column from one table to filter other table. The accountid list is passed as PV but I am not able to pass the PV in SQL query and its not accessible even after creating a input variable. 

SELECT  Account_id,Name,'Status code','C&D' FROM Account_table where Account_id in (pv!bkk_act_list.Account_id)

  Discussion posts and replies are publicly visible