sql - Getting the values of table2.column1 into table1.column1 -


what want values of 'script' column table 'item_db3' 'script' column of table 'item_db2'

i tried script

update item_db2 set item_db2.script=item_db3.script item_db2 join item_db3 on (item_db2.script=item_db3.script) 

interchange join , set statement like

update item_db2  join item_db3 on item_db2.script = item_db3.script set item_db2.script = item_db3.script 

** not sure trying updating column on joining. that's bit strange


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -