I have two table: TABLE1 (xID, xKEY, xAMOUNT, xCLEAR)
(1, A, 10)
(2, B, 100)
(3, C, 1000)
(4, A, 50)
TABLE2 (xID, xKEY, xAMOUNT, xCLEAR)