UPDATE TABLE2
JOIN TABLE1
ON TABLE2.SERIAL_ID = TABLE1.SUBST_ID
SET TABLE2.BRANCH_ID = TABLE1.CREATED_ID;
More Related Contents:
- MySQL update a joined table
- left join query keep a column empty
- UPDATE multiple rows with different values in one query in MySQL
- Multiple Updates in MySQL
- MySQL JOIN ON vs USING?
- MySQL error code: 1175 during UPDATE in MySQL Workbench
- mysql after insert trigger which updates another table’s column
- How to select from two tables in MySQL even if not all rows in one table have corespondents in the other?
- What’s the difference between comma separated joins and join on syntax in MySQL? [duplicate]
- MySQL JOIN the most recent row only?
- How to prepend a string to a column value in MySQL?
- mysql query show multiple tables from one ID column
- LEFT JOIN only first row
- MySql update two tables at once
- MySQL Inner Join Query Multiple Tables
- What are differences between INSERT and UPDATE in MySQL?
- Table is ‘read only’
- Difference between these two joining table approaches?
- MySql – Way to update portion of a string?
- MySQL Error: Incorrect usage of UPDATE and LIMIT
- MySQL LEFT JOIN 3 tables
- MySQL UPDATE and SELECT in one pass
- What is the default MySQL JOIN behaviour, INNER or OUTER?
- MySQL Join Where Not Exists
- how to use a like with a join in sql?
- The best way to remove value from SET field?
- MySQL: How do I use delimiters in triggers?
- Update MySQL with if condition
- MySQL behavior of ON DUPLICATE KEY UPDATE for multiple UNIQUE fields
- How to store a one to many relation in MySQL database?