Re: Re: Very complex query

From: Date: Thu, 11 Dec 2003 21:24:13 +0000
Subject: Re: Re: Very complex query
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-32003@lists.php.net to get a copy of this message
Martin Marques wrote:
El Jue 11 Dic 2003 05:30, Mike U. Petrov escribió:
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. But he wants only one entry for user_id, not all of them. Adding it will negate the reason he's using it.
-- paperCrane <Justin Patrin>

« previous php.db (#32003) next »