title: Use terms from text file in SQL WHERE ... IN clause
body: <p>I'm running SQL query for MySQL server with</p>
  
  <pre><code>...
  where name in ("term1","term2","term3")
  </code></pre>
  
  <p>I would like to get the list of terms from a text file with one term per line. How can I do this?</p>
  
  <p>What about if this list of terms will get large? 10K, for example. Will this be efficient or I should use another approach? May be temporary table and join? The database is read-only.</p>