I have a MS Access table with 3 columns named Code, [Money Amt], and Line in a table named Actual Debt. 
I am trying to write an SQL statement that will help me automate this process. I want the statement to look for rows with identical values in their code columns. Then look at the [Money Amt] and locate pairs that have the reverse values (In this case the pair would be 200, and -200). When it finds the pair of rows with the same Code value and reverse [Money Amt] it will then populate the Line column value with 999. 
In this case the second and fourth row would be selected as the pair and have the resulting line value of 999. 
I know that this will probably require an INNER JOIN. I haven't gotten very far besides this, I don't know how to structure the INNER JOIN due to being a newbie. 
UPDATE [Actual Debt] SET Line = 999; 

 
     
     
    