MySQL Forums
Forum List  »  Optimizer & Parser

Re: SQL syntax appears correct but EXPLAIN does not work?
Posted by: David Wynter
Date: July 18, 2005 09:57AM

Yes, using a UNION makes perfect sense, except that I had modified the original UPDATE so I could use EXPLAIN. In the context of the UPDATE I cannot use the UNION because because the sub-select would contain the table being updated. See the first message in this thread for my original query.

Look slike I will have to use a temp table again.

Does your book cover the way the optimiser works Jay? If it does I cannot wait until it is on the shelves!

Regards,

David

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: SQL syntax appears correct but EXPLAIN does not work?
2418
July 18, 2005 09:57AM


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.