Re: select distinct

From: newsreader(at)mediaone(dot)net
To: pgsql-general(at)postgresql(dot)org
Subject: Re: select distinct
Date: 2001-08-13 00:43:33
Message-ID: 20010812204333.A29727@dragon.universe
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Never mind. I figure out that what
I am asking is not possible

Sorry for the noise

On Sun, Aug 12, 2001 at 08:39:35PM -0400, news wrote:
> It seems that I cannot get other columns
> with distinct in the select statement.
>
> I want to do like
> select distinct i,a from a where c=2;
>
> Right now I have to do
> select distinct i from a where c=2
> and then iterate over each i to get a
>
> I have also tried
> select a,distinct i from a where c=2
>
> I would appreciate any suggestion
>
> Thanks
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2001-08-13 01:14:35 Re: Re: select distinct
Previous Message newsreader 2001-08-13 00:39:35 select distinct