There is two tables. One is A and other one is B. The A table is following:
| Acc_Num | Acc_ID | Acc_status | | -------- | ------