Mikael Hedin <[EMAIL PROTECTED]> 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
- [SQL] problem to count (distinct number) Mikael Hedin
- Re: [SQL] problem to count (distinct number) Jie Liang
- Re: [SQL] problem to count (distinct number) Tom Lane
- Re: [SQL] problem to count (distinct number) Stephan Szabo
