Received: from snoopy.mohawksoft.com ([216.41.12.227]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBPNKML80645 for ; Mon, 25 Dec 2000 18:20:22 -0500 (EST) (envelope-from markw@mohawksoft.com) Received: from mohawksoft.com (IDENT:markw@snoopy.mohawksoft.com [216.41.12.227]) by snoopy.mohawksoft.com (8.11.0/8.11.0) with ESMTP id eBPNNJF14053; Mon, 25 Dec 2000 18:23:19 -0500 Message-ID: <3A47D6E7.E85FACDE@mohawksoft.com> Date: Mon, 25 Dec 2000 18:23:19 -0500 From: mlw X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.16-Mohawk i686) X-Accept-Language: en MIME-Version: 1.0 To: Abe , Hackers List Subject: Re: COUNT(Distinct city) HELP!!! References: <001001c06ec8$36bec380$6500a8c0@win2k> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200012/988 X-Sequence-Number: 2517 Abe wrote: > > Part 1.1 Type: Plain Text (text/plain) > Encoding: quoted-printable Try this: select count(distinct (city) ) from ct -- http://www.mohawksoft.com