Re: Count & Distinct - Mailing list pgsql-general

From Mitch Vincent
Subject Re: Count & Distinct
Date
Msg-id 002501c00d5a$48a8be90$0200000a@doot
Whole thread Raw
In response to Count & Distinct  ("J. Atwood" <jatwood@bwanazulia.com>)
List pgsql-general
hhs=# select count(distinct(fieldorder)) from temp_fields;
 count
-------
     3

I just tried it really quick and it worked fine.. What are you getting with
what table/view and query?

-Mitch

----- Original Message -----
From: "J. Atwood" <jatwood@bwanazulia.com>
To: <pgsql-general@postgresql.org>
Sent: Wednesday, August 23, 2000 3:45 PM
Subject: [GENERAL] Count & Distinct


> Search a lot of archives and have come up with very little (much old)
>
> obviously
>
> >>> select count(distinct(row)) from table;
>
> Does not work so what is the work around? I have tried a bunch of stuff.
>
> Thanks,
> J
>
>


pgsql-general by date:

Previous
From: "J. Atwood"
Date:
Subject: Count & Distinct
Next
From: richard excite
Date:
Subject: 2-phase commit