declare @tbl table (ID_points int primary key, ID_team int, points int, [date] date)
insert into @tbl select 1,1,2,'1/15/2012'
union select 2,1,0,'1/16/2012'
union select 3,1,-1,'1/17/2012'
union select 4,1,3,'1/18/2012'
union select 5,1,4,'1/18/2012'
select t1.ID_points, t1.ID_team, sum(t2.points) points, t1.[date]
from @tbl t1
left join @tbl t2
on t1.ID_points >= t2.ID_points
group by t1.ID_points, t1.ID_team, t1.[date]