I got the table structure as follows
-------------------------------- id processId newId value -------------------------------- 1 1 1 a 2 1 2 b 3 1 4 c 4 2 5 d --------------------------------
and
------------------------ id processId mapnewId ------------------------ 1 1 1 2 1 2 ------------------------
How should i get the value “c” (that means i should get the value which is not mapped to “1” in the second table) from the table in which the id mapped.
Here is the answer for single record