COUNT DISTINCT

From: "Eric Jain" <jain(at)gmx(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Subject: COUNT DISTINCT
Date: 2000-07-15 09:31:36
Message-ID: NCBBJFHBEGOIAHBCBNCLMEEKCJAA.jain@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

SELECT COUNT(DISTINCT url, id) FROM log;
ERROR: Aggregate functions may only have one parameter

SELECT COUNT(DISTINCT ON (url, id)) FROM log;
ERROR: parser: parse error at or near "on"

Any ideas how do I get this done properly?

--
Eric Jain

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew McMillan 2000-07-15 09:51:14 Re: COUNT DISTINCT
Previous Message Richard Harvey Chapman 2000-07-14 21:33:07 Re: psql \i --UPDATE