title: mysql: how to get data from 3 newest months in database?
body: <p>I was stuck about use command in mysql to query rows in 3 newest months. This is example:</p>
  
  <p>this is db :</p>
  
  <pre><code>row 1 : 2012/02/10 - id : 1
  row 2 : 2012/03/15 - id : 2
  row 3 : 2012/05/04 - id : 3
  row 4 : 2012/06/04 - id : 4
  </code></pre>
  
  <p>today is : <code>2013/03/28</code> </p>
  
  <p>How can i write a command to get data rows from 3 months newest in database :
  The true result will be : row 2 3 4 </p>
  
  <p>Update -----</p>
  
  <pre><code>Table name = sa_cms_post | col date : createdAt datetime - 0000-00-00 00:00:00
  </code></pre>