Quantcast
Viewing all articles
Browse latest Browse all 23857

How to retrieve data based on month end dates

Hi guys

I need to get last 6 months of data grouped by month end dates....

I need to automate this query so that it always looks for date for last 6 months

How do I achieve this?

For ex my database has a base date starting from 01 July 2013. Its a daily level data for total connections...

I want my report to be like

Month_End Date   Total Connections

31 Jul 2013            200

31 Aug                  300

30 Sep                   500

...and so on

Appreciate all your help

Regards


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>