I have a table with 2 multi value fields for example:
1st row contains these fields:
field 1: 1,4,5
field 2: 1,2,3
second row contains:
field 1: 5,6,7
field 2: ,6,3
third row:
field 1: 8,,9
field 2: 1,,3
|---------------------|------------------|
| column 1 | column 2 |
|---------------------|------------------|
| 1,4,5 | 1,2,3 |
|---------------------|------------------|
| 5,6,7 | ,6,3 |
|---------------------|------------------|
| 8,,9 | 1,,3 |
|---------------------|------------------|
So both fields are in relation- the value in position 2 of field 1 is related to the value in position 2 of field2. The thing that I want to do is to update/replace one or more of the values in field 2 only for which the values in each group are equal.
For example in first row I have matching value '1' in position 0 which need to be replaced in field 2. How I could do that? Just to mention that null values from field 1 and field 2 should not be considered as equal, they are there just to show position. Ask if you need some more info