MySQL Forums
Forum List  »  Optimizer & Parser

Re: Adding current entry to previous with join
Posted by: KimSeong Loh
Date: July 29, 2008 07:31PM

Try this 2 index (group_uid,t) and (group_uid,insert_order)

and change
(c.insert_order = (p.insert_order + 1)) AND
to
(c.insert_order - 1 = p.insert_order) AND

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Adding current entry to previous with join
2255
July 29, 2008 07:31PM


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.