Hi,
Can I run an query,
That update a table with a select from another table?
SOLVED: update query update from another table
SOLVED: update query update from another table
Last edited by mister_v on Thu Nov 01, 2018 12:23 pm, edited 1 time in total.
Re: update query update from another table
Yes, you can with update:
here is an example:
here is an example:
Code: Select all
UPDATE update_table AS a, source_table AS b SET a.update_column=b.source_table WHERE a.id=b.id;