Collect function

From: Sashi <>
Date: Tue, 15 Sep 2009 19:47:17 -0700 (PDT)
Message-ID: <>

HI all, I'm trying to use the collect() function (mentioned in my earlier post in this ng) but it, well, collects all values. Is there any way of avoiding duplicates?
What I'm trying to do is this:

select collect(a1), a2, a3, a4
from A
group by a2, a3, a4.

Sashi Received on Tue Sep 15 2009 - 21:47:17 CDT

Original text of this message