Count & Distinct
Count & Distinct
От:
"J. Atwood" <jatwood@bwanazulia.com>
Дата:
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
Re: Count & Distinct
От:
"Mitch Vincent" <mitch@venux.net>
Дата:
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"
To:
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
>
>
Re: Count & Distinct
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"J. Atwood" writes: >>>> select count(distinct(row)) from table; > Does not work so what is the work around? I have tried a bunch of stuff. I bet you didn't try updating to 7.0? regards, tom lane
Re: Count & Distinct
От:
sridhvenk@yahoo.com
Дата:
It works fine. Please try again On Wed, 23 Aug 2000, J. Atwood wrote: > 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 > >