I have a working query and all the info is coming back just fine.But I need to make an adjustment and can't seem to find anywhere on how to accomplish this.The query below retrieves information about each user - userNameEach user has MANY assignments - WRNumberAs the query stands, it gets a LOT of rows.I need to consolidate WRNumber.That is, the user only shows up ONCE, only one row and on that row, in WRNumber, would be about 5 - 10 WRNumbers.Can this be done in the same select or I need to use another stored procedure? SELECT a.ID, a.AssigneeID, (d.WRFormCode + CAST(a.ID as CHAR)) AS 'WRNumber', (b.FirstName + ' ' + b.LastName) AS 'userName' FROM tblProjectAssignees a, tblUsers b, tblWorkRequests c, tblRefRequestFormSelect d WHERE a.WorkRequestID = c.ID AND c.RequestFor = 'Validation Lab' AND (c.Status = 'In-Progress' OR c.Status = 'In-Planning') AND d.WRFormName = 'Validation Lab'
Thanks for any suggestions,Zath