'Lo All, I'm looking to aggregate 'hours applied' for each user.& I'm looking for a recordset that's something like:GroupName, FName, LName, SUMHoursAppliedByUsertable:UsersUserIDLoginIDLNameFNametable:Groups+GroupIDGroupNametable:lu_UsersGroupsGroupIDUserIDtable:Categories+CategoryIDCategoryNametable:History+EventIDUserIDCategoryIDHoursAppliedDateApplied
My Current Select Statement:SELECT Groups.GroupID, Groups.GroupName, Users.UserID, Users.FName, Users.LName, History.HoursApplied, History.DateApplied, SUM(History.hoursApplied) as SUMHoursByUser FROM History JOIN LU_UsersGroups on history.UserID = LU_UsersGroups.UserID JOIN Users on LU_UsersGroups.UserID = Users.UserID JOIN Groups on LU_UsersGroups.GroupID = Groups.GroupID WHERE Groups.GroupID = 1 OR groups.groupID = 3 AND (DateApplied >'4/25/2007 00:00:01 AM' AND DateApplied <'5/2/2007 11:59:59 PM') GROUP BY Users.UserID ORDER BY LU_UsersGroups.GroupID, LU_UsersGroups.UserID
& of course, I get the error:Column 'Groups.GroupID' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause If anyone can provide:[] some insight on proper way to aggregate[] Some good reading on this...I'd be very grateful.Respectfully,Micke