El Jue 11 Dic 2003 05:30, Mike U. Petrov escribió:But he wants only one entry for user_id, not all of them. Adding it will negate the reason he's using it.
I tried to use GROUP BY and it worked almost right but i need to return user_id and mysql generated an error that notes.user_id isn't used in GROUP BY...
Add it to the GROUP BY.
-- paperCrane <Justin Patrin>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php