I have a table having the following columns: Batch_Number, RM_Code, RM_Qty_Used, RM_Lot_Number. The table has multiple records if a Batch_Number has used an RM_Code from dif