MySQL Forums
Forum List  »  MyISAM

Re: still repetetive
Posted by: Jay Pipes
Date: May 17, 2006 04:06PM

Hi Mark!

This is a known issue with subquery optimizations, and is on the block to make it into future MySQL versions (5.2 I think?) For now, simply do:

SELECT *
FROM results0047 r
INNER JOIN items i
ON r.query = i.id
AND i.state = 'deleted'
LIMIT 10;

Jay Pipes
Community Relations Manager, North America, MySQL Inc.

Got Cluster? http://www.mysql.com/cluster
Personal: http://jpipes.com

Options: ReplyQuote


Subject
Views
Written By
Posted
2640
May 10, 2006 04:59PM
1642
May 16, 2006 04:29PM
1631
May 17, 2006 02:51AM
1656
May 17, 2006 03:36PM
Re: still repetetive
1606
May 17, 2006 04:06PM
1580
May 18, 2006 09:01AM
1588
May 18, 2006 11:23AM
1640
May 19, 2006 01:33AM


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.