4.1.x happily supports almost all forms of subqueries.  That's the DB
I use almost exclusively.  There are a few limitations (like you can't
update a table you've done a subquery on in the same query, and you
can't use LIMIT on a subquery), but they're basically full featured.

And even if you're not on a platform that supports subqueries, that
SELECT I wrote can easily be converted into two sequential queries. 
Not as fast, to be sure, but certainly faster than a N-depth recursive
search in most cases.

cheers,
barneyb

On 2/1/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
> Sadly we use mySQL v4.x which doesn't support subselects.
>
> <!----------------//------
> andy matthews

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231036
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to