Is there a way in SQL to return instances of a field horizontally? For instance:
SELECT id, index FROM table WHERE id = 'CC093509'
returns:
id index
CC093509 103773
CC093509 103774
CC093509 103775
CC093509 103776
CC093509 103777
CC093509 103778
CC093509 103779
CC093509 103780
CC093509 103781
I’d like it to return:
CC093509, 103773 10274 103775 103776 103777 103778 103779 103780 103781
Am I dreaming?
Thanks.