Hi,
I have 2 tables in my database: table1 and table2
The second table contains 2 columns with materials numbers. They are the same materials, but with a different number.
The first table contains 1 column with materials numbers, but they can be found in the 2 columns in the 2nd table, just not the same for every material.
How can I create a 3rd column in the 2nd table that shows something like IF(nr in column1 can be found in table 1; nr1; else nr in column 2)?
So later when I link the 2 tables I need to link on just that one column.
Thanks in advance!
I have 2 tables in my database: table1 and table2
The second table contains 2 columns with materials numbers. They are the same materials, but with a different number.
The first table contains 1 column with materials numbers, but they can be found in the 2 columns in the 2nd table, just not the same for every material.
How can I create a 3rd column in the 2nd table that shows something like IF(nr in column1 can be found in table 1; nr1; else nr in column 2)?
So later when I link the 2 tables I need to link on just that one column.
Thanks in advance!