MySQL Forums
Forum List  »  PHP

Re: nested select statement syntax error
Posted by: - lrt
Date: July 15, 2005 07:26AM

inner joins worked like a beauty. never really knew how to use them before. now i do, thanks!

inner joins seem to be a lot more powerful than subqueries. the subqueries would not allow me to return multiple rows (is that common of subqueries?)

this is why I was using "LIMIT 1". Although "DISTINCT" is what I really should have been using.

the subqueries would not have worked the way I wanted them to even if i upgraded to 4.1

thanks for your help

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.