title: Run a query based on output of another query
body: <p>I have 3 queries based on first result i have to execute the 2 or 3rd query</p>
  
  <p>If the output is 2 i have to eexute 2nd query</p>
  
  <p>If the op is 3 then 3rd query</p>
  
  <p>pls help</p>