I have data as follows -
FieldValue FiledID UnqiueID
Name1 13 1
Address1 14 1
NAme2 13 2
Address2 14 2
Name3 13 3
Address3 14 3
Date1 15 3
Date2 16 3
Date3 17 3
I would like to transpose it. My outcome will be as follows -
Name1 Address1 0 0 0
Name2 Address2 0 0 0
Name3 Address3 Date1 Date2 Date3
I was trying to do it through PIVOT, but no success. Like to achieve it through SQL not preferring any SP.