I have a table which has data like this:
Value ID
I 1
already 1
tried 2
this 2
but 2
did 3
not 3
work 4
please 4
help 5
me 6
I expect the output to be:
Value1 value2 VALUE3 ID
I already 1
tried this but 2
did not 3
work please 4
help 5
me 6
So rows having same ID has to separated into number of columns= number of rows with same ID.
i have used spread function. but it didn't work.