попробуйте следующее:
declare @Student table (id int, name varchar(10), home varchar(100), tel varchar(10))
insert into @Student select 1, 'A', 'Neo', '023**'
insert into @Student select 2, 'A', 'Cit', '012**'
insert into @Student select 3, 'B', 'Dti', '12**'
select * from @Student
select name, stuff((
select distinct ',' + u.home
from @Student u
where u.name = s.name
for xml path('')),1,1,'') as home, stuff((
select distinct ',' + u.tel
from @Student u
where u.name = s.name
for xml path('')),1,1,'') as tel
from @Student s
group by name