Can someone please help to advise below question?
I need to do a SUM of the amount column based on the CreateDate date range From 10th of previous month to 10th of this month
Below is the database table
Amount CreateDate
151.00 5 July 2015
567.50 19 July 2015
558.00 25 August 2015
550.05 4 August 2015
The SQL result need to display as per the table below:
SumAmount Period
718.5 July 2015
1108.05 August 2015