Hi,
I have a table that contains for example a person ID and products associated with that person. If I do a select * where personid = 1, I would get for example this
PersonID Product
1 prod1
1 prod2
1 prod3
What I want is an out put that does this
PersonID Product Product Product
1 prod1 prod2 prod3
or even this would be ok
PersonID product
1 prod1,prod2,prod3
Does anyone know how to achieve this???
I have a table that contains for example a person ID and products associated with that person. If I do a select * where personid = 1, I would get for example this
PersonID Product
1 prod1
1 prod2
1 prod3
What I want is an out put that does this
PersonID Product Product Product
1 prod1 prod2 prod3
or even this would be ok
PersonID product
1 prod1,prod2,prod3
Does anyone know how to achieve this???