title: Comparing only Year and Month
body: <p>I'm using this to compare Year and month, but it failing when month is less than current month even though the year is greater than current year</p>
  
  <pre><code>SELECT * FROM DUMMY_TABLE WHERE
  YEAR(PREV_ELIG_REV_DT) &gt;= YEAR(CURRENT TIMESTAMP)
  AND MONTH(PREV_ELIG_REV_DT) &gt;= MONTH(CURRENT TIMESTAMP)
  </code></pre>