calculating current year and previous year and inserting it into a table in sql server : I have a data range in a table from '2014-06-01' to '2016-06-01'. How to show the values for current date and previous date in a table.
Example: The value for the date '2015-01-01'(current year date) is 100 and in '2014-01-01'(previous year date) is 200.

So the table values should be
Row1. Date -2015-01-01, PreviousYear-200,CurrentYear-100
Row2. Date -2015-02-01
...
upto..
RowN. Date -2016-01-01 
       
Please help.
     