I have tried to combine below data according to the result shown as below in sql server.
Raw data:
Expected result:
i am not sure if i should use pivot. also, when i tried to concat it only able to combine the data from the same row. It such a great help if you can help me with this. :)