title: Query to get all rows from previous month
body: <p>I need to select all rows in my database that were created last month. </p>
  
  <p>For example, if the current month is January, then I want to return all rows that were created in December, if the month is February, then I want to return all rows that were created in January. I have a <code>date_created</code> column in my database that lists the date created in this format: <code>2007-06-05 14:50:17</code>.</p>