I am using SQL Server 2005. I have a data from SQL like this.
ID ID2 PartNo
75 23921 DENT
75 26145 PLGD
75 26145 PRRP
75 26145 SIST
75 57290 PRMD
75 57290 abc
75 57290 def
75 57290 ghi
75 57290 jkl
I need an output like this. (max Part4)
ID ID2 Part1 Part2 Part3 Part4
75 23921 DENT
75 26145 PLGD PRRP SIST
75 57290 PRMD abc def ghi
Thanks