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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -