How to access the data from MSSQL table
User will give only month(3) and financial year(2013-14), how can I retrieve the progress up to last month (previous month) and up to month (this month) while data has been inserted from jun-2013 to march-2014
I have tried but I have given like month 3 and financial year 2013-14 but its calculate only two month data while it should be calculate Apr-2013 to Mar-2014 data
My table structure is like
+--------+-------+------+---------+
| amount | month | year | finyear |
+--------+-------+------+---------+
| 12456 | 2 | 2013 | 2013-14 |
+--------+-------+------+---------+
thanks