Hi everyone!
I have a problem and I can't figure out how to solve it, so I would appreciate any help.
1. I need to check each row in OLD TABLE, look into HELP TABLE for NEW_ID (if exists) and create new ID in NEW TABLE
2. Then I need sum all values that belong to NEW_ID and insert into NEW...