MySQL Forums
Forum List  »  PHP

Re: nested select statement syntax error
Posted by: Roland Bouman
Date: July 15, 2005 07:42AM

> 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?)

Depends on what problem you want to solve.
With this type of subquery you cant get to the rows.
On the other hand, using a subquery in the FROM list (yes!) does allow that.
Look in the manual, and check out

http://www.mysqldevelopment.com

Andrew Gilfrin has written some about subqueries there

> thanks for your help

Ok, glad I could help out.

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.