title: Creating a variable array in sql
body: <p>Right now my code looks like:</p>
  
  <pre><code>SELECT * 
    FROM Table 
   WHERE Id in ('123','456','789')
  </code></pre>
  
  <p>And I want to make the list a variable so that the code would look something like this:</p>
  
  <pre><code>Id_list = ('123','456','789')
  
  SELECT * 
    FROM Table 
   WHERE Id in Id_list
  </code></pre>
  
  <p>I'm not super familiar with SQL, I'm sorry if this is obvious or my description uses the wrong terminology. Thanks!</p>