Hi
I need to design a query:
Consider following data.
col1 col2
------------------------
1 1
1 2
2 11
2 12
3 50
4 101
4 102
4 103
Now i need to produce the result that would group the data on col1 but all the repeating result in col2 displayed in a single column. I.e the result of the above should be.
Newcol1 Newcol2(String Type)
------------------------
1 1,2
2 11,12
3 50
4 101,102,103
I have tried the transform query but it puts all the data as seperate columns.
If anybody has solution then plz do reply.
Thanks
I need to design a query:
Consider following data.
col1 col2
------------------------
1 1
1 2
2 11
2 12
3 50
4 101
4 102
4 103
Now i need to produce the result that would group the data on col1 but all the repeating result in col2 displayed in a single column. I.e the result of the above should be.
Newcol1 Newcol2(String Type)
------------------------
1 1,2
2 11,12
3 50
4 101,102,103
I have tried the transform query but it puts all the data as seperate columns.
If anybody has solution then plz do reply.
Thanks