I work in MySQL The task is as follows:
There is a table 1 in which there are goods with the field "article". In table 2 there is also a field
It is necessary to add table 2 to table 1, but so that the rows with the same part numbers are not added.
I.e:
Table 1 id Name Article
- Apple 111555
- Pear 111222
- Lemon 111888
Table 2
id Name Article
- Apple 222222
- Grushaz 111222
- Lemon377777
Total
id name Article
- Apple 111555
- Pear 111222
- Lemon 111888
- Apple 222222
- Lemon377777