title: Trouble escaping mysql statement in python
body: <p>How would I escape the % in the following:</p>
  
  <pre><code>cursor.execute('''SELECT MIN(id) FROM title WHERE provider=%s 
                    AND vendor_id LIKE "%s%"''', (provider, vendor_id_stem))
  </code></pre>