there are two tables named TEST1 and TEST2 each has two columns, ID and NAME as below.
TEST1
ID NAME
1 BOB
2 MIKE
3 TOM
4 TAMA
TEST2
ID NAME
1 RAMIN
2 RAHIM
3 RONA
4 ZAK
6 ZENO
7 YOURA
8 SONE
i want to update table TEST1 (NAME) Column with TEST2 (NAME) Column values if ID in table TEST1 matched with ID in table TEST2.
running below query will result this error msg "ORA-00933: SQL command not properly ended"
UPDATE tbl_test1
SET tbl_test1.NAME = tbl_test2.NAME
FROM tbl_test1
INNER JOIN tbl_test2
ON tbl_test1.id = tbl_test2.id