title: Timestamp comparison in MySQL for same months / different years
body: <p>I'm using SQL to query three tables for data analysis. I need to compare timestamps for three months- Jan, Feb, March but over different years. </p>
  
  <p>My code so far for the WHERE clause is:</p>
  
  <pre><code>a.time_stamp BETWEEN '%y%/10/01 00:00:00' AND '%y%/01/01 00:00:00'
  </code></pre>
  
  <p>and it is not returning the right result. Any thoughts?</p>