/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
UPDATE t1 SET col2 = t2.col2 FROM table1 t1 INNER JOIN table2 t2 ON t1.col1=t1.col2 WHERE Col3 >5