title: Sqlite syntax error even though there's no syntax error. Help?
body: <p>Here's the code I use to update information in my sqlite database:</p>
  
  <pre><code>self.c.execute("UPDATE proxydata (proxy, description) VALUES ('" + proxy + "', '" + description + "') WHERE proxy='" + proxy + "'")
  </code></pre>
  
  <p>But I get this error:</p>
  
  <pre><code>sqlite3.OperationalError: near "(": syntax error
  </code></pre>
  
  <p>For the life of mine I can't find an error. Both variables upon execution are correctly formated strings.</p>
  
  <p>EDIT:</p>
  
  <p>This works fine:</p>
  
  <pre><code>self.c.execute("UPDATE proxydata SET description='" + description + "' WHERE proxy='" + proxy + "'")
  </code></pre>
  
  <p>You can close the thread.</p>