Possible Duplicate:
Simulating group_concat MySQL function in Microsoft SQL Server 2005?
I have 2 table like this
Class table :
And Student Table:
I want to join two table but i want to have result like this
ClsName StdName
A George
B Jenifer,Anjel,Alex
C Alex,Joe,Michael
how could achieve to this?
in fact for each class i want to have one row with distinct their student name