I have a database table like the following:
id|name|item_id|sequence
and the following instance data:
1|Apple|419841|1
2|Orange|419841|2
3|Banana|935890|1
4|Lime|959081|1
I need to create a new table where all rows that have the same item_id
(Apple and Orange) are combined.
So the output I need would be :
1|Apple AND Orange|419841|1
3|Banana|935890|1
4|Lime|959081|1
Thank you in advance!
Mike