Re: count query

From: Date: Tue, 08 Jan 2002 21:35:31 +0000
Subject: Re: count query
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-15543@lists.php.net to get a copy of this message
Barry, Is it posible to do a count(*) on a tabe where id=2 and count just those that id = 2 =why don't you try it? The answer is yes, because count(*) means count the entire number of non-null rows selected. See manual: 3.3.4.8 Counting Rows =dn

« previous php.db (#15543) next »