How do I adjust the SQL query below so that if the client has 2 or more debits for the same amount say in the example below $1,272.00 and the client has 1 credit on their account for ($1,272.00), I would like the credit to be applied to any one of the debits once the amount is the same. The...