Hi,

     id    name   group_name
----------------------------------
>     1    bill   support      100
>     2    bill   support      101
>     3    bill   support      102
>     4    ben    development  201
>     5    ben    development  103
>     6    ben    development  204
>     7    bob    support      104
>     8    bob    support      102
>     9    bob    support      107
>     7    pat    support      102
>     8    pat    support      202
>     9    pat    support      105

> I need to get a count of how many individual people are in
> the table, that belong to a certain group.

select count(distinct name) from table
where group_name = 'support';


Best Regards,
Sasa



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