title: Can I use Def function in SQL query
body: <p>I want to return the SQL output refers on the condition that set in Def function. Will this work at below? or is there any anther method that i can create array and use it conditions for the return?</p>
  <pre><code>Def condition(x)
  x = ['USA','China','Germany']
  SELECT * from dataset1 Where country IN x
  </code></pre>