I'm new in SQL Server. I just want to write a Stored procedure for this :
I don't know how many rows are there in the table. I want to group X and Z column and put together Y column's text belonged to X and Z column.
I can make this with two loop. Is there any short way i can use in SQL Server.
