here's how you update one table with results from another database query.
UPDATE
target_database.target_table A //database to be updated-target
INNER JOIN source_database.source_table B //join source database to target
ON B.ProductID = A.ProductID //join fields
SET A.Markup = B.Markup //fields to be updated
No comments:
Post a Comment