MySQL Forums
Forum List  »  InnoDB

Update Joining two tables
Posted by: Kevin Ford
Date: June 02, 2005 09:51AM

I am getting this ERROR

Error

SQL-query :

UPDATE products_test, dev_products
SET products_test.products_price = dev_products.products_price
WHERE (products_test.products_id = dev_products.products_id)

MySQL said:


#1064 - You have an error in your SQL syntax near '
dev_products SET products_test.products_price = dev_products.products_price WHE' at line 1

MYSQL VERSIONS IS MySQL 3.23.58

Help Please?

Is there a different approach if this will not work?



Edited 1 time(s). Last edit at 06/02/2005 09:57AM by Kevin Ford.

Options: ReplyQuote


Subject
Views
Written By
Posted
Update Joining two tables
15544
June 02, 2005 09:51AM
7114
June 13, 2005 11:11PM


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.