Re: select * from nmensagem m, nusuario...

From: Date: Fri, 16 Mar 2001 07:16:59 +0000
Subject: Re: select * from nmensagem m, nusuario...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44232@lists.php.net to get a copy of this message
> select * from nmensagem m, nusuario u, nprefuser p where > m.cdpreferencia=p.cdpreferencia and p.flag=1; > > With "m.cdpreferencia=p.cdpreferencia" I should get just the values there > exists on m.preferencia and p.cdpreferencia? No, because you have a record for every single nusario, since you don't restrict any relation between u and m, nor u and p -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#44232) next »