Oops....sorry. That should have been GROUP BY and not GROUP ON That's what I get for answering a post at 2am. :)
-- Loren McDonald <AKA MisterrMac> [EMAIL PROTECTED] > This one is relatively simple: > > Drop the WHERE evtphoto.phtusage = 1. > SELECT it and then GROUP ON it. > > -- > Loren McDonald <AKA MisterrMac> --------------------------------------------------------------------- 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