title: Select from any of multiple values from a Postgres field
body: <p>I've got a table that resembles the following:</p>
  
  <pre><code>WORD    WEIGHT   WORDTYPE
  a       0.3      common
  the     0.3      common
  gray    1.2      colors
  steeple 2        object
  </code></pre>
  
  <p>I need to pull the weights for several different words out of the database at once. I could do:</p>
  
  <pre><code>SELECT * FROM word_weight WHERE WORD = 'a' OR WORD = 'steeple' OR WORD='the';
  </code></pre>
  
  <p>but it feels ugly and the code to generate the query is obnoxious. I'm hoping that there's a way I can do something like (pseudocode):</p>
  
  <pre><code>SELECT * FROM word_weight WHERE WORD = 'a','the';
  </code></pre>