O.k, how about this query. SELECT DISTINCT name,count(1) AS numPeople FROM tester Where team ='support' GROUP BY team Its a bit dirty and it returns an extra column, but this could be ignored -- Colin --------------------------------------------------------------------- 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
- Re: surely an easy quick one Stefan Pinkert
- RE: surely an easy quick one Colin Partridge
- Re: surely an easy quick one Jamie Burns
- Re: surely an easy quick one Lezz Giles
- Re: surely an easy quick one Jamie Burns
- RE: surely an easy quick one Colin Partridge
- Re: surely an easy quick one Lezz Giles
- Re: surely an easy quick one Jamie Burns
- Re[2]: surely an easy quick one Aleksandar Bradaric
- RE: surely an easy quick one Colin Partridge
- Re: surely an easy quick one Colin Partridge
- Re: surely an easy quick one Chris Johnson
- Re: surely an easy quick one Chris Johnson
- Re: surely an easy quick one Chris
- Re: surely an easy quick one Richard Dice