Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
requirements are not clear on insert
set t1.col1 = insull(t2.col1, t1.col2) ....
from table1 t1
join table2 t2
on t2.usercode = t1.usercode