MySQL Forums
Forum List  »  Newbie

Re: How do I combine 3 queries into one
Posted by: Rick James
Date: April 12, 2009 11:49PM

How about 1 INSERT (followed by getting the inserted id -- in a separate statement), then 2 UPDATEs.

Options: ReplyQuote


Subject
Written By
Posted
Re: How do I combine 3 queries into one
April 12, 2009 11:49PM


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.