Does not seem to be picking up the extras:I think it is because I have left the group by companyname in there but how else do I display the different companyname in the result set?declare @topnum int,@month intset @topnum = 500set @month = 0SET ROWCOUNT @topnumSELECT C.[ID], --C.AccountCode, C.ParentGroup, C.CompanyName, sum([amtin loccur]) AS TurnoverFROM zarinvregLEFT JOIN Companies C ON zarinvreg.Customer = C.AccountCodeWHERE monthdata >= @month-11 --this gives us 12 monthsAND [name 1] <> '-'AND [name 1] is not nullGROUP BY C.ID, C.ParentGroup, --C.AccountCode, C.CompanyNameORDER BY Turnover descSET ROWCOUNT 0