MySQL Forums
Forum List  »  PHP

Re: Using data from one table to update another table
Posted by: Bob Field
Date: March 23, 2006 09:29PM

UPDATE Inventory JOIN Vendor ON Vendor.Vendor_Name = Inventory.Vendor_Name
SET Inventory.Vendor_Name = Vendor.Vendor_ID;

Options: ReplyQuote




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.