Hi,
I want to return a resultset with a grouping function in it that lists all common items on a single row.
Like if I have a table like so :
Field1 Field2 field3 field 4
-----------------------------------------
1 a a b
1 a a d
1 a c c
I want it to be format like :
Field1 Field2 field3 'result'
-----------------------------------------
1 a a b, d
1 a c c
I am told this is not possible with straight sql(ie group by functions) but how to do it ?
any help appreciated !!
TIA
I want to return a resultset with a grouping function in it that lists all common items on a single row.
Like if I have a table like so :
Field1 Field2 field3 field 4
-----------------------------------------
1 a a b
1 a a d
1 a c c
I want it to be format like :
Field1 Field2 field3 'result'
-----------------------------------------
1 a a b, d
1 a c c
I am told this is not possible with straight sql(ie group by functions) but how to do it ?
any help appreciated !!
TIA