I want to update all the rows after the first row for each Team.
TableName: Test
ID , Team , StartTime, EndTime, TotalTime 1.......
You can use CTE for this.
with cte as ( select test.*, row_number() over (partition by team order by ID) as teamRowNum from TEST ) UPDATE cte SET StartDate = DateAdd(SECOND, - ProjectedTime * 60, EndDate) where teamRowNum > 1