I need to return a period to date total as well as a last value from a table. Given the following data set...
Declare @Temp Table(EmpId VarChar(20), Checkdate smalldatetime, Gross_Pay numeric(19,5), IRA_Contribution numeric(19,5))
Insert Into @Temp Values('01123DOE', '01/01/2010', 500.00...