title: In SQL how to compare date values?
body: <p>Using MySQL syntax and having a table with a row like:</p>
  
  <pre><code>mydate DATETIME NULL,
  </code></pre>
  
  <p>Is there a way to do something like:</p>
  
  <pre><code>... WHERE mydate&lt;='2008-11-25';
  </code></pre>
  
  <p>I'm trying but not really getting it to work.</p>