Hello
Suppose I have data in table :
Col1 | Col2
ABC | 1
ABC | 2
ABC | 3
XYZ | 1
XYZ | 2
I need output like
Col1 | Col2
ABC | 1,2,3
XYZ | 1,2
Any pointers ???
How to get all records in one row
Moderator: NorbertKrupa
-
- Newbie
- Posts: 3
- Joined: Thu Feb 07, 2013 7:58 am
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: How to get all records in one row
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.