title: Presto sql to get last months data till current day data?
body: <p>How to get last month's data using presto sql </p>
  
  <p>tried this : </p>
  
  <pre><code>SELECT *
  FROM tabl
  where my_date &gt; cast(current_date - interval '1' month as timestamp)
  </code></pre>
  
  <p>But this will include current months and exclude some previous months days</p>
  
  <p>How to get only last months data and current month data  included like this </p>
  
  <p><code>last month  data + data until today</code></p>