Can you explain a little more. To get the record count of the table is simplyselect count(*)FROM [Roster].[ViewRoster] a
If you are looking for the totals for a specific group such as total by ColleagueID it'sselect count(*) as ColleagueCount,ColleagueIDFROM [Roster].[ViewRoster] agroup by a.ColleagueID
If you want to go a step farther and link the counts with the records it's simplySelect a.*,b.ColleagueCount FROM [Roster].[ViewRoster] aInner Join(select count(*) as ColleagueCount,ColleagueIDFROM [Roster].[ViewRoster] agroup by a.ColleagueID) bon a.ColleagueID = b.ColleageID
Please explain more if this is not what you are looking for.
Success is 10% Intelligence, 70% Determination, and 22% Stupidity.\_/ _/ _/\_/ _/\_/ _/ _/- 881