MySQL Forums
Forum List  »  InnoDB

Re: update query...
Posted by: William Chiquito
Date: February 24, 2008 09:55PM

Hi Dan,

Try:
update table_name a
	inner join table_name b on a.newid = b.newid and a.rp = b.patid
	inner join table_name c on b.rp = c.rp
set c.gar = b.newid;



Edited 1 time(s). Last edit at 02/24/2008 10:38PM by William Chiquito.

Options: ReplyQuote


Subject
Views
Written By
Posted
3058
February 24, 2008 04:46PM
Re: update query...
1759
February 24, 2008 09:55PM


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.