3 rule inputs needs to refer single column but different rows in DB and update the values

Hi I have a question 

i have 3 rule inputs i.e, ri!uniqueref1,ri!uniqueref2, ri!uniqueref3 these 3 rule inputs needs to be updated to DB  

but 3 rule inputs have to refer to single column but different rows in DB 

can anyone help me for this how can i write logic for creating  process model 

3 rule inputs needs to refer single column but different rows in DB and update the values 

  Discussion posts and replies are publicly visible