Re: problem to count (distinct number) - Mailing list pgsql-sql

From Tom Lane
Subject Re: problem to count (distinct number)
Date
Msg-id 5132.979852178@sss.pgh.pa.us
Whole thread Raw
In response to problem to count (distinct number)  (Mikael Hedin <mikael.hedin@irf.se>)
List pgsql-sql
Mikael Hedin <mikael.hedin@irf.se> writes:
> SELECT COUNT (DISTINCT data ) FROM media;
> ERROR:  parser: parse error at or near "distinct"

This is supported since 7.0.  I suspect you are running an old release.
        regards, tom lane


pgsql-sql by date:

Previous
From: Jie Liang
Date:
Subject: Re: problem to count (distinct number)
Next
From: Stephan Szabo
Date:
Subject: Re: problem to count (distinct number)