1: 2: 3:
SELECT x.TestID, ConcatenateThem([TestID]) AS Defects FROM [SELECT DISTINCT TestID FROM tblDefects; ]. AS x ORDER BY x.TestID;