title: Python SQL entry not returing search result
body: <p>I have been having trouble inserting mixed character string into sql db.
  I figured urlencoding the string is a easier way to save the string in table.</p>
  
  <p>IE </p>
  
  <pre><code>INSERT INTO metadb (name, type , year ) values ( 'Valentine%27s Day', 'movie', '2010')
  </code></pre>
  
  <p>My problem is when I try to look up for this entry with the sql, it is returning nothing.</p>
  
  <pre><code>SELECT * FROM metadb WHERE name = 'Valentine%27s Day' and year = '2010' and type = 'movie'
  </code></pre>
  
  <p>Is there any way to overcome this problem? My best guess is that it has something to do with the '%' which is messing it up.</p>
  
  <p>Python SQL platform is used.</p>