I am trying to generate a sales report from my SQL database. My management would like to get a report of sales movement which shows sales total current month as of todate and sales totals of last month as of the same day.
for example todate is 2/10/2013, I want the totals of January as of 1/10/2013.
Here follows how the table structure is.
for example todate is 2/10/2013, I want the totals of January as of 1/10/2013.
Here follows how the table structure is.