I have one table like this..
TicketID Name
111 ABC
111 DEF
222 GHI
333 ABC
333 GHI
I need output like this..
TicketID Name
111 ABC, DEF
222 GHI
333 ABC, GHI
I have found a same kind of query try to do it with Stuff function but don't know why m not getting exact result Can anyone give me query for SQL Server.. n tell me how actually it process.