Hi there,
Can someone help me with some sql code. I have a table which has data in rows and I want pivot this data into columns.
i.e
ID1 NAME1 VALUE
ID1 NAME2 VALUE
ID1 NAME3 VALUE
ID2 NAME1 VALUE
ID2 NAME2 VALUE
And I want?
ID NAME1 NAME2 NAME3
--------------------
ID1 VALUE VALUE VALUE
I'd appreciate some help. Many Thanks.
Can someone help me with some sql code. I have a table which has data in rows and I want pivot this data into columns.
i.e
ID1 NAME1 VALUE
ID1 NAME2 VALUE
ID1 NAME3 VALUE
ID2 NAME1 VALUE
ID2 NAME2 VALUE
And I want?
ID NAME1 NAME2 NAME3
--------------------
ID1 VALUE VALUE VALUE
I'd appreciate some help. Many Thanks.