title: MYSQL TIMESTAMP comparison
body: <p>I have a table with a column <code>Time</code> that stores a timestamp value, a column that stores a <code>Name</code> and a column that stores a <code>Status</code>. </p>
  
  <p>I'm trying to find a query to update all entries before a given timestamp like this:</p>
  
  <pre><code>UPDATE `Table` 
  SET Status=1
  WHERE Name='personname' AND 'Time'&lt;'2012-12-23 18:00:00'
  </code></pre>
  
  <p>The query is valid but nothing changes.</p>
  
  <p>When trying to show the results of the <code>WHERE</code> part there are no results. </p>
  
  <p>What am I doing wrong?</p>