Skip site navigation (1) Skip section navigation (2)

DISTINCT and COUNT help

From: Julie Keywell <julie(at)iparenting(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: DISTINCT and COUNT help
Date: 2002-06-28 05:10:56
Message-ID: 3D1BEFE0.C3A79358@iparenting.com (view raw or flat)
Thread:
Lists: pgsql-novice
Hi there!

I would like to count the number of distinct values in a column.  Is
there any way to combine DISTINCT and COUNT and if so, what is the
syntax?

Thanks for your help!
Julie






Responses

pgsql-novice by date

Next:From: ChrisDate: 2002-06-28 05:20:50
Subject: Re: DISTINCT and COUNT help
Previous:From: Tom LaneDate: 2002-06-28 03:55:49
Subject: Re: NFS/NAS

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group