I have table as following
ID FName LName
r1 Tom Patrik
r2 Jerry Blaku
r1 Ethan Lie
I would like something as following
ID r1 r2 r1
FName Tom Jerry Ethan
LName Patrik Blaku Lie
NOTE THAT VALUES IN ID ARE NOT DISTINCT....!! Is it possible to achieve this using sql Server Pivot(Or any) command, If yes I will really appreciate TSQL for that