Re: Help with query

From: Date: Sat, 09 Feb 2002 12:55:10 +0000
Subject: Re: Help with query
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-84097@lists.php.net to get a copy of this message
> Hi, > > i can?t seem to get my head to wake up... > > How would i do to count how many different values that exists in a mysql > field? Ie i have a date-field and need to know how many different dates that > exists in the table. select count(distinct name) from site; in Mysql Valentin Petruchek (aki Zliy Pes) *** Cut the beginning *** http://zliypes.com.ua mailto:val@zliypes.com.ua

« previous php.general (#84097) next »