title: SQL - Update multiple records in one query
body: <p>I have table - <strong>config</strong>.
  Schema:
  <code>config_name | config_value</code></p>
  
  <p>And I would like to update multiple records in one query. I try like that: </p>
  
  <pre><code>UPDATE config 
  SET t1.config_value = 'value'
    , t2.config_value = 'value2' 
  WHERE t1.config_name = 'name1' 
    AND t2.config_name = 'name2';
  </code></pre>
  
  <p>but that query is wrong :( </p>
  
  <p>Can you help me?</p>