On Fri, Apr 13, 2001 at 12:37:40PM +0200, Z_da_eXTaZie wrote:
> I can make this query: select a from table.
> I can count it: select count(a) from table.
> I can select it: select distinct a from table.
> But how can i count it?
>
> select count(distinct a) from table doesn't works
It works for me on MySQL 3.23.36.. which version of MySQL are you running?
G'luck,
Peter
--
I am jealous of the first word in this sentence.
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php