See this
DECLARE @tbl as table (FileKey nvarchar(10),Title nvarchar(10),FirstName nvarchar(10),MiddleName nvarchar(10),LastName nvarchar(10))
INSERT INTO @tbl
SELECT '1','Mr','Tim','','Adikari'
UNION
SELECT '2', 'Ms','Sue','','Andrew'
UNION
SELECT '3', 'Mr','Mathew','William','Anyalai'
UNION
SELECT '3', 'Mrs','Elaine','June','Blazejczyk'
UNION
SELECT '4', 'Mr','Scott','Alfred','Bond'
UNION
SELECT '4', 'Mr','Tony','','Bromwich'
SELECT p1.FileKey,
( SELECT Title + ' ' + FirstName + ' ' + MiddleName + ' ' + LastName + ','
FROM @tbl p2
WHERE p2.FileKey = p1.FileKey
ORDER BY FileKey
FOR XML PATH('') ) AS Products
FROM @tbl p1
GROUP BY FileKey ;
Replace
@tbl
in above query with your actual table name.