I have table like this:
id number value
1 300 233
2 343 434
2 565 655
3 562 343
1 434 232
3 232 444
3 458 232
It have to be
id number:value, number:value...
1 300:233, 434:232
2 343:434, 565:655
... and so on
Basically, I have to merge 2nd and 3rd column and group for every ID.
What I did is CAST, and I got "merged" 2nd and 3rd column, and now I need to group id by id, for unknown number of ids (can't do id manually).
So, instead of original 3-column table, I made new one with 2 rows
id number:value
1 300:233
2 343:434
2 565:655
3 562:343
1 434:232
3 232:444
3 458:232
Just need somehow to group it, to get the output I need. I'm sure it can be done with cursor(s), but I can get to it.
Thanks in advance for help.