Hi,


> SELECT COUNT(DISTINCT name) from tester WHERE team = 'support'

Could 2 queries do the trick?

insert into temptable
  select count(name) from tester
  where team = 'support'
  group by team;

select count(*) from temptable;


Best Regards,
Sasa

P.S. create table temptable(tempfield integer);



---------------------------------------------------------------------
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

Reply via email to