I got two tables: table1
and table2
table1:
HW_SN (varchar2) ID (number)
123ERZ123 (empty)
124NIJD11
4125ERT22
....
-
table2:
ID (number) Name (varchar)
85442 123ERZ123
85471 124NIJD11
12478 4125ERT22
... ...
table1
has another column called ID
which is empty.
I need to check table1-HW_SN
if its the same to table2-Name
- if yes it should add table2-ID
to table1-ID
.