Can someone help me from this problem, the 2nd query is not inserting or updating in other table. I want to insert if theres no record from tbl balances and upd