Hi.
What i would like to do is re-group a set of data that is define by it's ID, so that each row has it's own id.
i.e The current Format is:
ID NAME ADDRESS_LINE1
a1 JAMES 17 BRICK LANE
a2 JAMES 17 BRICK LANE
a3 JAMES 17 BRICK LANE
The reult i am after is that the data is grouped by address with the IDs in seperate columns.
NAME ADDRESS_LINE1 ID1 ID2 ID3....
JAMES 17 BRICK LANE a1 a2 a3
One way is thinking is to sort the IDs and ascending order and then ID1 = first row ID, ID2 = second row id, but i don't know how to select a specific value by order.
....I hope this makes sense????
What i would like to do is re-group a set of data that is define by it's ID, so that each row has it's own id.
i.e The current Format is:
ID NAME ADDRESS_LINE1
a1 JAMES 17 BRICK LANE
a2 JAMES 17 BRICK LANE
a3 JAMES 17 BRICK LANE
The reult i am after is that the data is grouped by address with the IDs in seperate columns.
NAME ADDRESS_LINE1 ID1 ID2 ID3....
JAMES 17 BRICK LANE a1 a2 a3
One way is thinking is to sort the IDs and ascending order and then ID1 = first row ID, ID2 = second row id, but i don't know how to select a specific value by order.
....I hope this makes sense????