Hi Everyone how should i update multiple columns of a table from another table...
Suppose I have table A and B and having four columns each table
A(col1,col2,col 3,col4)
B(col1,col2,col 3,col4)
then how should i do something like this
update A set(col2,col4)= (select B.col2,B.col4 from B where B.col1=A.col1 and A.col3=A.col3)
Please help..........
Suppose I have table A and B and having four columns each table
A(col1,col2,col 3,col4)
B(col1,col2,col 3,col4)
then how should i do something like this
update A set(col2,col4)= (select B.col2,B.col4 from B where B.col1=A.col1 and A.col3=A.col3)
Please help..........
Comment