title: SQL Where clause pass list to a column
body: <p>I have some table <code>DOCUMENTS</code> that have a column <code>TYPE_ID</code> and a table named <code>TYPES</code>
  Now I want to make a query which filter on my <code>DOCUMENTS</code> all the document that have a list of <code>TYPE_ID</code> that can be a single element or sort of elements</p>
  
  <p>The normal query is:</p>
  
  <pre><code>Select * From DOCUMENTS Where TYPE_ID = myValue
  </code></pre>
  
  <p>But when it can be a list of known elements the wuery looks like</p>
  
  <pre><code>Select * From DOCUMENTS Where TYPE_ID = myValue1 or TYPE_ID = myValue2 or TYPE_ID = myValue3
  </code></pre>
  
  <p>But if you have n elements.... how can this query be done?</p>